﻿
/***************************************
    ELEMENTS
**************************************/

fieldset {
    min-width: 0;
}

@-moz-document url-prefix() {
    fieldset {
        display: table-cell;
    }
}

html {
    overflow-y: scroll;
}

body {
    background: rgb(255, 255, 255);
    margin: 0;
    padding: 0 0 0 0;
    font-size: 10.5pt;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

@media (max-width: 768px) {
    body {
        margin: 0px 1px 0px 0px;
    }
}

td {
    font-family: Arial, Helvetica, sans-serif;
}

th {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    margin: 0px;
    padding: 0px;
}

img {
    margin: 0px;
    padding: 0px;
}

img {
    border: 0px currentColor;
}

.clr {
    height: 0px;
    overflow: hidden;
    clear: both;
}

.clrM {
    height: 0px;
    overflow: hidden;
    clear: both;
}

.clrM {
    margin: 2px 0px;
}

form {
    margin: 0px;
    padding: 0px;
}

h1 {
    margin: 0px;
    color: rgb(3, 87, 140);
    padding-bottom: 4px;
    font-size: 1.40em;
}


h2 {
    margin: 0 0 5px 0px;
    color: #2294c9;
    padding-bottom: 4px;
    font-size: 1.25em;
}

@media (max-width: 768px) {
   h2 {
        margin: 0 52px 5px 0px;
        padding-bottom: 4px;
        font-size: 1.22em;
    }
}

h3 {
    margin-top: 8px;
    margin-bottom: 4px;
    color: #1d7daa;
    padding-bottom: 4px;
    font-size: 1.18em;
}

h4 {
    font-size: 1em;
    color: #176487;
    margin-bottom: 4px;
}

* :focus {
}

a:active {
}

a:link {
    color: rgb(87, 140, 2);
    text-decoration: none;
}

a:visited {
    color: rgb(87, 140, 2);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

fieldset {
    padding: 5px;
    border: 1px solid rgb(204, 204, 204);
    text-align: left;
    margin-bottom: 10px;
}

legend {
    color: #218dc0 !important;
    font-size: 1.04em;
    font-weight: bold;
}

input {
    background: transparent;
    border: 1px solid silver;
    font-size: 1em;
}

select {
    background: rgb(255, 255, 255);
    border: 1px solid silver;
    font-size: 1em;
}

textarea {
    border: 1px solid silver;
    font-size: 1.27em;
}

iframe {
    border: 0px currentColor;
}

.right {
    float:right;
}
.left {
    float: left;
}

.clear {
    clear:both;
}


/************************************
    APP BAR
************************************/
.h_blue#border-top {
    background-color: #3baade;
    height: 54px;
}

@media (max-width: 768px) {
    .h_blue#border-top {
        border-radius: 0px;
    }
}

#border-top .title {
    color: rgb(255, 255, 255);
    line-height: 44px;
    padding-left: 14px;
    font-size: 1.36em;
    font-weight: bold;
}

    #border-top .title a {
        color: rgb(255, 255, 255);
        line-height: 44px;
        padding-left: 14px;
        font-size: 1.36em;
        font-weight: bold;
    }

#border-top .logo {
    padding: 7px 0px 0px 0px;
    border-top: 0;
    width: 150px;
}


#module_status {
    float: right;
}

    #module_status span {
        padding: 4px 10px 0px 22px;
        line-height: 16px;
        margin-bottom: 5px;
        float: left;
        display: block;
    }

#header-box {
    background-color: #ededef;
}

#header-box .RadMenu {
    display: inline-block;
}


/************************************
    WHAT I HAD BEFORE
************************************/
table#mainPageTable {
    width: 100%;
}

table#mainPageTable tr {
    border: none;
    padding: none;
    margin: none;
}

table#mainPageTable td {
    border-style: none;
    border-color: inherit;
    border-width: medium;
    vertical-align: top;
    margin-left: 40px;
}

#leftMenu {
    border-right-color: #CCCCCC;
    border-right-style: solid;
    border-right-width: 1px;
    padding-right: 5px;
    
}

/*
    Ahora se cambia con el pagelayout en el masterpage
    @media (min-width: 768px) {
    #leftMenu {
        max-width: 400px;
    }

    #rightPanel {
        width: calc(100% - 400px) !important;
    }
}*/

div#instalacionesSelection {
    padding-right: 3px;
    padding-top: 5px;
    height: 89vh;
    overflow-y: auto;
}


.ruUploadSuccess {
    font-size: 12pt !important;
}

.ruRemove {
    font-size: 10pt !important;
}

div.menuContainer {
}

.barTitle {
    padding: 10px;
    text-align: center;
}

    .barTitle.blue {
        background-color: #AABBFF;
    }

    .barTitle.green {
        background-color: #AAFFBB;
    }

    .barTitle.yellow {
        background-color: #EFEFBB;
    }

.divInstalacionesPageClass {
    padding-left: 0px;
}

div.MainContainer {
    min-height: 450px;
    padding-left: 10px;
}

@media (max-width: 768px) {
    div.MainContainer {
        padding: 0;
    }
}

div#currentInstalacion {
    border: none;
    width: 100%;
    padding-left: 10px;
}


.goDownMenu {
    z-index: 2000 !important;
}

div#InstalacionesMenu {
    background-color: #F0F0F0;
    border: 1px solid #CCCCCC;
    border-left: none;
    height: 25px;
    padding-left: 10px;
}

.RadMenu {
    top: 0px;
    left: 0px;
}

.CaudalValidado {
    background-color: #F0F5FF;
}

.infoInstalacion .clave {
    width: 140px !important;
}

.uploadlink {
    background: url("../images/ButtonUploadSmall.png") no-repeat 5px 50% rgb(229, 236, 249);
    border: 1px solid rgb(170, 198, 232);
    color: rgb(0, 85, 181) !important;
}

.viewReport {
    background: url("../images/Print.png") no-repeat 5px 50% rgb(229, 236, 249);
    border: 1px solid rgb(170, 198, 232);
    color: rgb(0, 85, 181) !important;
}

.reportRightTd {
    vertical-align: top;
}

.uploadlinkClose {
    background: url("") no-repeat 5px 50% rgb(229, 236, 249);
    border: 1px solid rgb(170, 198, 232);
    color: rgb(0, 85, 181) !important;
}

.botonMedium.downloadlink {
    font-size:small;
}

.downloadlink {
    background: url("../images/download_on.png") no-repeat 5px 50% rgb(229, 236, 249);
    border: 1px solid rgb(170, 198, 232);
    color: rgb(0, 85, 181) !important;
    padding: 7px 10px 7px 28px;
    border-radius: 12px;
}

.adminTableTextbox {
    width: 100% !important;
}

.PageViewReportsGeneral {
    vertical-align: top;
}

.centrarGridPopup {
    top: 30px !important;
    left: auto;
    right: auto !important;
    margin-top: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: absolute !important;
}

.smallScreen {
    left: 25px !important;
}

.caudalimetrodatepicker {
    z-index: 12000;
}

.MaintenanceMenu {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 30px;
    margin-top: 150px;
    background-color: #F8F8FF;
    border: 1px solid #CFCFFF;
    border-radius: 5px;
}

.MaintenanceMenuItem {
    display: inline-block;
    width: 150px;
    height: 100px;
    position: relative;
    margin: 20px;
    text-align: center;
    padding-top: 25px;
    vertical-align: middle;
    border: 1px solid #E0E0F0;
    border-radius: 5px;
}

    .MaintenanceMenuItem fieldset {
        border-radius: 5px;
    }

    .MaintenanceMenuItem span {
        display: block;
        font-size: 0.85em;
        margin-top: 15px;
        text-decoration: none;
    }

    .MaintenanceMenuItem:hover {
        text-decoration: none;
        background-color: #C0D0FF;
        cursor: pointer;
        color: #224;
    }

.TextboxMediano {
}

ul.listaUl {
    list-style-type: disc !important;
    list-style-position: outside;
}

    ul.listaUl li {
        margin-left: 14px;
    }

.DivCentradoMediano {
    width: 410px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: 30px;
    margin-top: 150px;
}



.incidenciaClave {
    width: 140px;
}

#subirDocumentoH {
    cursor: pointer;
}

    #subirDocumentoH img {
        margin-top: 2px;
        width: 16px;
        height: 16px;
    }

.minimizableLegend {
    cursor: pointer;
}

    .minimizableLegend img {
        margin-top: 2px;
        width: 16px;
        height: 16px;
    }

.imagenMas {
    background: url('redmond/images/ui-icons_217bc0_256x240.png') -16px -127px;
}

.imagenMenos {
    background: url('redmond/images/ui-icons_217bc0_256x240.png') -48px -127px;
}


.incidenciaDatepicker {
    z-index: 13000 !important;
}

.RadItemTemplate {
    cursor: pointer;
    background-color: #E5F0FF;
}

    .RadItemTemplate:hover {
        cursor: pointer;
        background-color: #99C2FF;
    }

.RadItemTitle {
    font-size: 1.3em;
    color: #000;
    padding-left: 5px;
}

.RadItemDescription {
    font-size: 0.8em;
    padding-left: 20px;
    padding-bottom: 6px;
    color: #505050;
    font-style: italic;
    border-bottom: 1px solid #99C2FF;
}


div.cajaBuscarCups {
    margin: 140px auto;
    width: 400px;
    padding: 20px;
    border: 1px solid #C0D0E0;
    background-color: #EAF0FF;
}


a.tocResize {
    width:30px;
    height:30px;
    background-size:contain;
    border: none;
    position: absolute;
    cursor: pointer;
    overflow: hidden;
    top: 0px;
    margin: 0;
    padding:0;
    z-index: 10;
}

a.tocResize.open {
    background-image: url('/images/v2/right-arrow.png');
}
a.tocResize.close {
    background-image: url('/images/v2/left-arrow.png');
}



@media (max-width: 768px) {
    a.tocResize {
        top: 59px;
        left:auto !important;
        right:11px;
    }

    a.tocResize.open {
        transform: translateX(0px) rotateZ(90deg);
    }
    a.tocResize.close {
        transform: translateX(0px) rotateZ(90deg);
    }
}


.FacturaTextbox {
    width: 85%;
    border-bottom-color: White;
    text-align: right;
}

.FacturaTextbox {
    width: 85%;
    border-bottom-color: White;
    text-align: right;
}




.facturaHeaderRow {
    background-color: #C9D9DF;
    color: rgb(3, 57, 120);
}

    .facturaHeaderRow td {
        padding: 4px;
        font-weight: bold;
    }

.facturaTotalRow {
    background-color: #F2F2FF;
    color: rgb(3, 9, 20) !important;
}

    .facturaTotalRow input.readonly {
        color: rgb(3, 9, 20) !important;
    }

    .facturaTotalRow td {
        font-weight: bold;
    }

.precioEnergiaTarifaTitle {
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    color: #4A4C4F;
    font-size: medium;
    background-color: #DFE5EF;
    padding-bottom: 7px;
    padding-left: 0px;
    padding-right: 170px;
    padding-top: 7px;
}


.rddtSlide {
    z-index: 16000 !important;
}


.tooltip {
    position: fixed;
    padding: 5px 15px;
    z-index: 90000;
    background-color: #FFF;
    border: 1px solid rgb(0, 85, 181);
    border-radius: 4px;
    display: none;
}

.imgTooltip {
    cursor: pointer;
}

/*******************************
    ARBOL INSTALACIONES
*******************************/
#instalacionesSelection .RadTreeView li.rtLI a.rtIn img.rtImg {
    width: 25px;
}

/******************************
    WINDOWS
*********************************/


.modal {
    background: rgb(0, 0, 0);
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
    filter: alpha(opacity=20) !important;
    position: fixed;
    z-index: 15000;
    opacity: 0.2;
}

.upModal {
    background: rgb(0, 0, 0);
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
    filter: alpha(opacity=20) !important;
    position: fixed;
    z-index: 1000;
    opacity: 0.2;
}

.window {
    background: rgb(252, 252, 252);
    border-radius: 3px;
    border: 3px solid rgb(170, 170, 170);
    left: 50%;
    top: 35%;
    width: 350px;
    height: 150px;
    margin-top: -75px;
    margin-left: -175px;
    display: none;
    position: fixed;
    z-index: 15500;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.3);
}

.bigXX {
    left: 50%;
    top: 45%;
    width: 1200px;
    height: 550px;
    margin-top: -253px;
    margin-left: -600px;
}
.bigBalance {
    left: 50%;
    top: 45%;
    width: 1200px;
    height: 550px;
    margin-top: -353px;
    margin-left: -600px;
}
.big {
    left: 50%;
    top: 45%;
    width: 990px;
    height: 550px;
    margin-top: -253px;
    margin-left: -498px;
}

.medium {
    left: 50%;
    top: 45%;
    width: 600px;
    height: 350px;
    margin-top: -175px;
    margin-left: -300px;
}

.small {
    left: 50%;
    top: 45%;
    width: 350px;
    height: 120px;
    margin-top: -55px;
    margin-left: -175px;
}

.window .title span {
    margin-left: 5px;
}

.windowAjax .title span {
    margin-left: 5px;
}

.window .claveWin {
    padding: 3px;
    width: 110px;
    text-align: right;
    color: rgb(68, 68, 68);
    font-weight: bold;
    border-right-color: rgb(233, 233, 233);
    border-bottom-color: rgb(233, 233, 233);
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    display: inline-block;
    background-color: rgb(246, 246, 246);
}

.windowAjax .claveWin {
    padding: 3px;
    width: 110px;
    text-align: right;
    color: rgb(68, 68, 68);
    font-weight: bold;
    border-right-color: rgb(233, 233, 233);
    border-bottom-color: rgb(233, 233, 233);
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    display: inline-block;
    background-color: rgb(246, 246, 246);
}


/***************************************
    LEYENDAS
****************************************/
.leyendaItem {
    float: left;
    padding: 2px 5px 2px 25px;
    border-radius: 5px;
    font-weight: normal !important;
    margin-bottom: 4px;
    position: relative;
    cursor: default;
    font-size: 85%;
}

.leyendaItem .leyendaCuadroColor {
    width: 16px;
    height: 16px;
    float: left;
    margin-right: 4px;
    margin-top: 0px;
}


/***********************************
        MENSJAES
***********************************/
.mensaje, .message {
    padding: 8px 20px 6px 60px;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2px !important;
}
.error {
    background-color: #f3c2c2;
    background-image: url('/images/v2/error.png');  
}

.success {
    background-color: #c1ebc1;
    background-image: url('/images/v2/confirmation.png');
}

.warning {
    background-color: #dedeb7;
    background-image: url('/images/v2/validationSummary.png');
}

.info {
    background-color: #c2e3f3;
    background-image: url('/images/v2/confirmation.png');
}


/*******************************
    CIERRES SELECT
******************************/

.dropdown-button-base {
    display:inline-block;
    position:absolute;
}
.dropdown-button {
    position: relative;
    display: inline-block;
}

.dropdown-button-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 6px 3px;
    z-index: 1;
}

.dropdown-button:hover .dropdown-button-content {
    display: block;
}

.dropdown-button-item {
    padding: 12px 16px;
    margin:0;
    cursor:pointer;
}
.dropdown-button-item:hover {
    background-color:#a8d9f0;
}


/*******************************
        BOTONES
********************************/

.rbPrimaryButton .rbPrimaryIcon  {
    color:#FFFFFF !important;
}

.RadButton_Metro.rbPrimaryButton.green, .RadButton_Metro.RadButton.rbButton.rbPrimaryButton-green.rbDisabled {
    background-color: #009688;
   border-color:#00796b 
}

/******************************
        VALIDACIONES
*******************************/
.controlValidator {
    display:none;
}
.rfdValidationSummaryControl {
    background-color: #Fdd;
    border-radius: 0.5rem !important;
}
.rfdValidationSummaryControl ul {
    color: #d00;
    background: url(/images/v2/validationSummary.png) no-repeat 8px 0px !important; 
    background-size: 32px !important;
}

/****************************
        RADGRID
******************************/

.rgEditRow {
    background:none !important;
    background-color:#ecf1f4 !important;
    
}
.rgEditRow + tr > td {
    background-color: #ecf1f4;
    padding: 0px 10px 12px 51px;
}
.rgEditRow > td {
    border-bottom: none !important;
}
.rgEditForm {
    padding:10px 15px 15px 15px;
    background-color: #FeFeFf;
    border-bottom: none !important;
    border-radius: 0px 0px 3px 3px;
    /*box-shadow: 2px 2px 5px 1px #aaa;*/
}
.appointmentImage {
    width: 13px;
    height: 13px;
    background-size: contain;
    background-repeat: no-repeat;
    float: left;
    padding-right: 4px !important;
    margin-left: 14px !important;
    background-image: url('/images/dossier-512.png') !important;
}