
.SgaInput[type="text"], .SgaTextArea, input.form-control[type="text"], input.form-control[type="number"], input.form-control-date {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: 'nuni3';
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid rgb(166, 201, 226);
    border-radius: 5px;
}
input.form-control[type="text"]:disabled {
    color: #7f7f80;
    background: #dddddd;
}

.SgaInput[type="text"]:focus, textarea:focus, input.form-control[type="text"]:focus {
    border: 2px solid orange;
}
.SgaInputGridHeader[type="text"]
{
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;   
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px; 
}
.SgaInputGridHeader[type="text"]:focus
{
    border: 2px solid #DFEFFC;    
}

.SgaLabel 
{
    display: inline;
    font-size: 12px;
    font-family: 'nuni3';    
    font-weight: bold;
    color: #5D84AF;    
}
.SgaLabelWidth, .control-label {
    font-size: 12px;
    font-family: 'nuni3';
    font-weight: bold;
    color: #5D84AF;
}
.SgaText 
{
    display: inline;
    font-size: 11px;
    font-family: 'nuni3';    
    font-weight: bold;
    color: #5D84AF;    
}

.SgaButtonInline 
{
    height: 20px;
    font-family: 'nuni3';    
    font-size: 11px;
    margin-left: 12px;    
    padding: 1px 1px 1px 1px;
    border: 1px solid #4E9AE1;
}
.SgaButtonInline .ui-button-text  {padding: 2px 1em 0.5em 2.1em;}
.SgaButtonInline:hover,  .SgaButtonInline:focus
{
    border: 1px solid blue;       
}


.SgaEnabled div{color: #5D84AF;}
.SgaEnabled input, .SgaEnabled textarea{color: #7F7F80;border: 1px solid #a6c9e2;}
.SgaDisabled div{color: #9da295;}
.SgaDisabled input, .SgaDisabled textarea{color: #9da295;border: 1px solid #9da295;}





.SgaModoGuia .InputPar div
{
    color: #5D84AF;
    font-size: 14px;
}
.SgaModoGuia .InputPar input, .SgaModoGuia .InputPar textarea
{
    color: #3B468E;
}
.SgaModoGuia .SgaLabel,.SgaModoGuia .SgaEdit
{
    display: none;  
}



.CampoNoEdit .SgaLabel
{
    display: none;   
}
.CampoNoEdit .SgaEdit
{
    display: block !important;   
}
/*
.SgaModoGuia div
{
    color: #5D84AF;
}
.SgaModoGuia input, .SgaModoGuia textarea
{
    border-color: #5D84AF;
    border-radius: 0 0 0 0;
    color: #045FB4;
}
*/

.SgaInfoPanel
{
    color: Red !important;
    display: inline;
    float: left;
    font-family: 'nuni3';
    font-size: 12px !important;
    font-weight: bold !important;
    height: 20px;
    padding-left: 30px;
    padding-top: 5px;
}

.SgaInfoField 
{
    color: Red;
    display: inline;
    float: left;
    font-family: 'nuni3';
    font-size: 12px;
    font-weight: bold;
    height: 20px;
}
    .SgaInfoField.has-error {
        float: none;
        display: inline;
    }

.has-error .SgaInput, .has-error.SgaInput, .has-error .form-control, .has-error .chosen-default, .has-error .hasDatepicker, .has-error .btn {
    border-width: 2px;
    border-color: red;
}

.has-error .CampoInputPEX {
    border-width: 2px !important;
    border-color: red !important;
}

.has-error .SgaLabelWidth, .has-error .SgaLabel, .has-error .control-label, .has-error.SgaLabelWidth {
    color: red;
}

.sga_separador {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 43px;
    border: 1px solid #A6C9E2;
}  
.formOverlay 
{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -210px;
    margin-top: -70px;
    z-index: 20001;
    
}
.formOverlayFondo 
{
    background-color: #000000;
    border: medium none;
    cursor: default;
    height: 100%;
    width: 100%;
    left: 0;
    margin: 0;
    opacity: 0.6;
    padding: 0;
    position: absolute;
    top: 0;
    z-index: 1000;
}
.formOverlayFondoLoading 
{
    background-color: white;
    background-image: url("/Content/images/iconos/cargando.gif");
    background-position: 10px 10px;
    background-repeat: no-repeat;
    border-radius: 10px 10px 10px 10px;
    cursor: default;
    height: 60px;
    left: 50%;
    margin-left: -30px;
    margin-top: -30px;
    position: absolute;
    top: 50%;
    width: 60px;
    z-index: 1001;    
}
.formOverlayContent 
{
    height: 150px;
    width: 450px;
    
    position: absolute;
    left: 50%;
    top: 50%;
    
    background-color: White;
    border: 3px solid #AAAAAA;
    border-radius: 15px;
    z-index: 1000;       
}
.formOverlayContent .fQuestion
{
    position: absolute;
    right: 5px;
    left: 5px;
    top: 5px;
    height: 30px;    
    background: -moz-linear-gradient(center top , #4E8EDD 0%, #1A59A2 100%) repeat scroll 0 0 transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;    
    color: White;
    font-family: Sans-Serif;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.formOverlayContent .fIcon
{
    width: 40px;
    height: 40px;
    float: left;
    position: absolute;
    top: 10px;
    left: 33px;
}   
.formOverlayContent .fMessage
{
    position: absolute;
    top: 40px;
    bottom: 50px;
    left: 8px;
    right: 8px;
    
}
.formOverlayContent .fText, .formOverlayContent .fTextResponse
{
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    color: #7F7F80;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    
}
.formOverlayContent .fActions
{
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 30px;
}
.formOverlayContent .fLoadingContainer
{
    display: none;
    bottom: 0;
    display: block;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    
}
.formOverlayContent .fLoading 
{
    background-image: url("/Content/images/iconos/gif_cargando.gif");
    background-repeat: no-repeat;
    float: left;
    height: 300px;
    margin-left: 70px;
    margin-top: -120px;
    top: 40px;
    width: 382px;
}
.fButtons 
{
     font-size: 10px;   
}
.fButtons:focus 
{
     /*border-color: #4E8EDD;*/
     border-color: Orange;
}



.FilaBuscador .SgaInput[type="text"]:focus 
{ 
    border: 2px solid #5C9CCC;
}        


.etiquetaUsers {
    color: #003F59;
    font-weight: bold;
}


.SgaFormContainer
{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20001;
    
    border: 2px solid #045FB4;
    border-radius: 10px 10px 10px 10px;
    background-color: White;
}
.SgaFormOperDialog 
{
    visibility: visible;
    background-color: White;
    border: 2px solid #045FB4;
    border-radius: 10px 10px 10px 10px;
    height: 250px;
    left: 50%;
    margin-left: -250px;
    margin-top: -125px;
    position: absolute;
    top: 50%;
    width: 500px;
    z-index: 20001;
}
.SgaFormDialog 
{
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.SgaFormTitle
{
    background: #4E8EDD;
    background: -moz-linear-gradient(center top , #4E8EDD 0%, #1A59A2 100%) repeat scroll 0 0 transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: White;
    font-family: Sans-Serif;
    font-size: 18px;
    font-weight: bold;
    height: 30px;
    left: 5px;
    position: absolute;
    right: 5px;
    text-align: center;
    top: 5px;
}
.SgaFormTitle span
{
    position: relative;
    top: 3px;
}

.SgaFormBody
{
    bottom: 65px;
    left: 15px;
    position: absolute;
    right: 15px;
    top: 45px;
}
.SgaFormContent
{
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 10px;
    color: #5E5E5F;
    font-family: 'nuni3';
    font-size: 16px;
    font-weight: bold;
        
}
.SgaFormContent .icon {
    font-size: 1.5em;
}
.SgaFormValidation
{
    bottom: 10px;
    left: 15px;
    position: absolute;
    right: 0;
    height: 0px;
    color: red;
    font-family: 'nuni3';
    font-size: 14px;
    font-weight: bold;
        
}
.SgaFormFoot 
{
    bottom: 5px;
    height: 50px;
    left: 15px;
    position: absolute;
    right: 15px;
}
.SgaResponseFoot
{
    bottom: 5px;
    height: 35px;
    left: 15px;
    position: absolute;
    right: 15px;   
}
.SgaFormFoot li
{
    float: right;
    margin-bottom: 0px;
    margin-top: 0px;
    width: 125px;
    list-style-type: none;
    margin-left: 10px;
}
.SgaResponseFoot  li
{
    float: right;
    margin-bottom: 0px;
    margin-top: 0px;
    width: 100px;
    list-style-type: none;
    margin-left: 10px;
}
.SgaFormFoot ul{
    bottom: 0;
    font-size: 10px;
    height: 100%;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 12px;
    width: 100%;
}
.SgaResponseFoot  ul
{
    bottom: 0;
    font-size: 10px;
    height: 100%;
    left: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: 12px;
    width: 100%;
}
.SgaFormFoot input 
{
    height: 35px;   
    font-size: 17px;
}
.SgaResponseFoot input 
{
    font-size: 12px;
}
.SgaFormFoot input:first-child 
{
       
}
.SgaFormFoot .SgaFormSeparador
{
    background-color: #CBDBEF;
    clear: both;
    float: left;
    height: 5px;
    width: 100%;
}
.SgaResponseFoot .SgaFormSeparador
{
    background-color: #CBDBEF;
    clear: both;
    float: left;
    height: 3px;
    width: 100%;
}


.overlayTest 
{
    background-color: white;
    border-radius: 10px 10px 10px 10px;
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;  
}
.loadingContainer 
{
    z-index: 20005;
    background-color: white;
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 35px;  
}
.loadingBlock
{
    background-image: url("/Content/images/iconos/gif_cargando.gif");
    background-repeat: no-repeat;
    height: 300px;
    left: 50%;
    margin-left: -150px;
    margin-top: -155px;
    position: absolute;
    top: 50%;
    width: 300px;
}
.responseBlock 
{
    height: 220px;
    left: 50%;
    margin-left: -250px;
    margin-top: -110px;
    position: absolute;
    top: 50%;
    width: 500px;
}
.iconBlockOK
{
    height: 70px;
    left: 20px;
    margin-top: -35px;
    position: absolute;
    top: 25%;
    width: 60px;
    background-image: url("/Content/images/iconos/IconoOK.jpg");
    background-repeat: no-repeat;
        
}
.iconBlockFAIL
{
    height: 60px;
    left: 20px;
    margin-top: -30px;
    position: absolute;
    top: 25%;
    width: 60px;
    background-image: url("/Content/images/iconos/IconoFAIL.jpg");
    background-repeat: no-repeat;
        
}
.messageBlock
{
    bottom: 30px;
    color: #5E5E5F;
    font-family: 'nuni3';
    font-size: 16px;
    font-weight: bold;
    left: 100px;
    position: absolute;
    right: 15px;
    top: 26px;
    overflow: auto;
}
.chosen-up .chosen-container .chosen-drop {
    border-bottom: 0;
    border: 1px solid #aaa;
    top: auto;
    bottom: 20px;
}
.form-group {
    margin-bottom: 10px;
}
.inline div.form-group {
    display: inline-block;
}

div.form-group div.SgaLabelWidth {
    display: inline-block;
    margin-right: 5px;
}

div.form-group input.FormElement[type="text"], 
div.form-group input.form-control[type="text"], 
div.form-group input.form-control[type="number"], 
div.form-group textarea {
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid rgb(166, 201, 226);
    border-radius: 5px;
}

div.form-group textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-family: 'nuni3';
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
}

div.form-group .form-control-date {
    margin-bottom: 5px;
    width: 100%;
    border: 1px solid rgb(166, 201, 226);
    border-radius: 5px;
}

div.form-group input.FormElement[type="text"]:focus,
div.form-group input.form-control[type="text"]:focus,
div.form-group input.form-control[type="number"]:focus,
div.form-group textarea:focus,
div.form-group .form-control-date:focus {
    border: 2px solid orange;
}

div.form-group .form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}

div.form-group .form-control:-ms-input-placeholder {
    color: #999;
}

div.form-group .form-control::-webkit-input-placeholder {
    color: #999;
}

div.form-group .form-control[disabled],
div.form-group .form-control[readonly],
div.form-group fieldset[disabled] .form-control {
    background-color: #eee;
    opacity: 1;
}

div.form-group .form-control[disabled],
div.form-group fieldset[disabled] .form-control {
    cursor: not-allowed;
}


div.form-group input.FormElement[type="checkbox"], div.form-group input.form-control[type="checkbox"] {
    margin-bottom: 5px;
}
.tooltip-listado {
    z-index: 1;
    display: none;
    position: fixed;
    border-radius: 0.3em;
    background-color: white;
    border: 2px solid #5C9CCC;
    border-radius: 4px;
    top: 49%;
    left: 48.85%;
    max-height: 300px;
    overflow-y: auto;
}

.tooltip-listado ul li {
    border-bottom: solid 1px #A6C9E2;
    font-size: 15px;
    padding: 3px;
    color: #3b468e;
    font-family: "nuni1";
    border-radius: 2px;
    font-size: 12px;
}

.tooltip-listado ul {
    border-radius: 0.3em;
    list-style-type: none;
    padding: 5px;
}

.input-container {
    display: -ms-flexbox; /* IE10 */
    display: flex;
}
    .input-container.right { float: right; }

.icon {
    position: relative;
    left: -25px;
    color: rgba(102, 175, 233, .6);
    cursor: pointer;
    padding: 8px;
}

    .icon.fa-2x {
        padding: 2px;
    }

.input-field {
    display: block;
    height: 14px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .input-field:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    }

    .input-field::-moz-placeholder {
        color: #999;
        opacity: 1;
    }

    .input-field:-ms-input-placeholder {
        color: #999;
    }

    .input-field::-webkit-input-placeholder {
        color: #999;
    }

    .input-field[disabled],
    .input-field[readonly],
    fieldset[disabled] .input-field {
        background-color: #eee;
        opacity: 1;
    }

    .input-field[disabled],
    fieldset[disabled] .input-field {
        cursor: not-allowed;
    }

.filtros, .sgs-block {
    display: inline-block;
    width: 100%;
    border: 2px solid #5C9CCC;
    border-radius: 10px;
    margin: 10px 0 10px 0;
    padding: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #FFFFFF;
}

.sgs-block {
    padding: 10px;
}
.btn {
    background: linear-gradient(to bottom, #CBDDF3 0%, #C5DBEC 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    cursor: pointer;
    color: #2E6E9E;
    padding: 1px 1px 1px 1px;
    font-family: 'nuni3' !important;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0.9;
    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.btn-md {
    width: 100px;
    font-size: 11px;
    text-align: center;
    line-height: 21px;
}

.btn:hover {
    opacity: 1;
}

.btn:disabled {
    opacity: .65;
    cursor: default;
    color: -internal-light-dark-color(graytext, rgb(170, 170, 170));
}

.btn i.botonNuevo, i.icoEditar, i.icoCancelar, i.botonGuardar {
    float: right;
    height: 16px;
    margin-top: 2px;
    padding-right: 19px;
    width: 16px;
}

.tituloCabecera {
    margin: 5px;
    padding-left: 20px;
    font-size: 20px;
    color: #5C9CCC;
}

.wrapper {
    border: 2px solid #5C9CCC;
    border-radius: 10px;
    margin: 10px 0 10px 0;
    padding: 5px 5px 5px 5px;
    background-color: #FFFFFF;
}

    .wrapper hr {
        width: 100%;
    }

    @media (min-width: 768px) {
        .dl-horizontal dt {
        float: left;
        width: 160px;
        overflow: hidden;
        clear: left;
        /*text-align: right;*/
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .dl-horizontal dd {
        margin-left: 180px;
    }
}
.dl-horizontal dd:before,
.dl-horizontal dd:after{
    display: table;
    content: " ";
}
.dl-horizontal dd:after{
    clear: both;
}
.pull-right {
    float: right !important;
}
.pull-left {
    float: left !important;
}
.vertical-center {
    line-height: 30px;
}

.borderedBox {
    background-color: #FFFFFF;
    border: 2px solid #5C9CCC;
    border-radius: 10px 10px 10px 10px;
    padding: 5px;
}

.SgaFormScroll {
    overflow: scroll;
}

.line-arrow hr::before {
    font-family: 'Font Awesome 5 Free';
    content: "\f107";
    display: inline-block;
    position: relative;
    font-size: 1.5em;
    padding: 0 0 0 0.5em;
    background: white;
    top: -10px;
    left: 100%;
    margin: 0 0 0 -20px;
    cursor: pointer;
    font-weight: 900;
}

.form-readonly .empty[readonly] {
    color: transparent !important;
}

.form-readonly input[readonly] {
    border: none !important;
}


/* The switch - the box around the slider */
.sgs_yes_no.switch {
    width: 65px;
}

.sgs_checkbox {
    display: flex;
}

.sgs_checkbox > .control-label {
    display: flex;
    align-items: center;
    margin: 0 10px 0 10px
}

.three-state {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

    .three-state .slider:before, .three-state .slider .off, .three-state input:checked+ .slider .on {
        display: none;
    }

    .three-state .slider, .three-state input:checked + .slider {
        background: lightgray
    }

.switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 25px;
}

.switch input {display:none;}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ca2222;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2ab934;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

/*------ ADDED CSS ---------*/
.on
{
    display: none;
}

.on, .off
{
    color: white;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}

input:checked+ .slider .on
{display: block;}

input:checked + .slider .off
{display: none;}

/*--------- END --------*/

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;}
/*End The switch - the box around the slider */

.mt-5,
.my-5 {
    margin-top: 0.5rem !important;
}

.ml-5,
.mx-5 {
    margin-left: 0.5rem !important;
}

.pt-5 {
    padding-left: 5px;
}
