﻿.xchart {
    padding: 10px;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    background-color: #E4E4E4;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

.validation-summary-valid.alert.alert-danger {
    display: none !important;
}

.form-control.input-validation-error {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(144,79,89,0.60);
    border-color: rgba(181,92,92,0.60);
}

.select2.input-validation-error {
    /*box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(144,79,89,0.60);
    border-color:rgba(181,92,92,0.60);*/
}

.input-validation-error-for-select2 {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(144,79,89,0.60);
    border-color: rgba(181,92,92,0.60);
}

.select2.input-validation-error a {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(144,79,89,0.60);
    border-color: rgba(181,92,92,0.60);
}



.select2-container .select2-choice {
    line-height: 34px !important;
    height: 34px !important;
    width: auto;
    /*max-width: 280px;*/
}

.select2-drop {
    /*max-width: 280px;*/
}


#btn-mostrar-buscador:hover i {
    color: #F6D02F !important;
    font-size: 36px;
}

#btn-cerrar-buscador:hover i {
    color: #000000 !important;
}

#buscador-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #F6D02F !important;
}

.smart-form {
    line-height: 15px;
}
/*.smart-form label{
    font-size:small;
}
/*.form-group {
margin: 3px;
}*/


.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

    .panel-green .panel-heading {
        border-color: #5cb85c;
        color: #fff;
        background-color: #5cb85c;
    }

    .panel-green a {
        color: #5cb85c;
    }

        .panel-green a:hover {
            color: #3d8b3d;
        }

.panel-red {
    border-color: #d9534f;
}

    .panel-red .panel-heading {
        border-color: #d9534f;
        color: #fff;
        background-color: #d9534f;
    }

    .panel-red a {
        color: #d9534f;
    }

        .panel-red a:hover {
            color: #b52b27;
        }

.panel-yellow {
    border-color: #f0ad4e;
}

    .panel-yellow .panel-heading {
        border-color: #f0ad4e;
        color: #fff;
        background-color: #f0ad4e;
    }

    .panel-yellow a {
        color: #f0ad4e;
    }

        .panel-yellow a:hover {
            color: #df8a13;
        }

.table {
    margin-bottom: 0 !important;
}

.magic-grid-footer-td {
    /*border-top:4px double #717171 !important;*/
    /*border-bottom:1px solid #717171 !important;*/
    background-color: #ededed;
}

.panel-body {
    padding: 5px;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}

    .fileUpload input.upload {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        padding: 0;
        font-size: 20px;
        cursor: pointer;
        opacity: 0;
        filter: alpha(opacity=0);
    }

fieldset {
    margin: 0px !important;
}

legend {
    display: block;
    width: 100%;
    padding-bottom: 5px;
    margin: 10px 0px 10px 0px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

.validation-summary-errors {
    padding-left: 25px;
}






/* checkOnOff */
.checkOnOff {
    width: 80px;
    height: 26px;
    background: #C5BC96;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,0.2);
}

    .checkOnOff:after {
        content: 'OFF';
        font: 12px/26px Arial, sans-serif;
        color: #000;
        position: absolute;
        right: 10px;
        z-index: 0;
        font-weight: bold;
        text-shadow: 1px 1px 0px rgba(255,255,255,.15);
    }

    .checkOnOff:before {
        content: 'ON';
        font: 12px/26px Arial, sans-serif;
        color: #00bf00;
        position: absolute;
        left: 10px;
        z-index: 0;
        font-weight: bold;
    }

    .checkOnOff label {
        display: block;
        width: 34px;
        height: 20px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        -webkit-transition: all .4s ease;
        -moz-transition: all .4s ease;
        -o-transition: all .4s ease;
        -ms-transition: all .4s ease;
        transition: all .4s ease;
        cursor: pointer;
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
        background: #fcfff4;
        background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4', endColorstr='#b3bead',GradientType=0 );
    }

    .checkOnOff input[type=checkbox] {
        visibility: hidden;
    }

        .checkOnOff input[type=checkbox]:checked ~ label {
            left: 43px;
        }

/* END checkOnOff */

.exportSI {
    color:green;
}
.exportNO {
    color: red;
}


.checkOnNullOff {
    z-index: 200;
    width: 100%;
    height: 34px;
    background: #dcdcdc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    position: relative;
    -webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
    -moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.2);
}

    .checkOnNullOff span {
        font: 17px/34px Arial, sans-serif;
        width: 50%;
        text-align: center;
        display: block;
        z-index: 0;
        font-weight: bold;
        cursor: pointer;
        color: gray;
    }

        .checkOnNullOff span.no {
            right: 0px;
            float: right;
        }

        .checkOnNullOff span.yes {
            left: 0px;
            float: left;
        }

    .checkOnNullOff.yes span.yes {
        display: block;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        position: absolute;
        cursor: pointer;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        background: -webkit-linear-gradient( top, #d2ffd5 0%, #9ef58b 40%, #538c57 100%);
        color: #0c690b;
        left: 0px;
    }

    .checkOnNullOff.no span.no {
        display: block;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        transition: all 0.4s ease;
        position: absolute;
        cursor: pointer;
        z-index: 1;
        -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
        background: -webkit-linear-gradient( top, #ffd2d2 0%, #f58b8b 40%, #8c5353 100%);
        color: #6f0c0c;
        right: 0px;
    }

.checkOnNullOffContainer select {
    z-index: 100;
    position: absolute;
    width: 10px;
    height: 10px;
    top: 7px;
    left: 46px;
    /*visibility: hidden;*/
}

.checkOnNullOffContainer {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: -5px !important;
}