.clearfix:before, .control-group:before, .clearfix:after, .control-group:after {
    content: " ";
    display: table;
}

.clearfix:after, .control-group:after {
    clear: both;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

    * + * {
        margin-top: 1em;
    }

option {
    margin-top: 0;
}

strong {
    font-weight: bold;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

html {
    background-color: #ffffff;
    color: #3c4247;
    font: 300 14px/20px Calibri,Helvetica,sans-serif;
}

.col {
    float: left;
    margin-top: 0;
    padding: 5px;
}

.col20 {
    width: 19%;
    margin-top: 0;
    float: left;
    padding: 5px;
}

.col40 {
    width: 39%;
    margin-top: 0;
    float: left;
    padding: 5px;
}

.cols-2 .col {
    width: 50%;
}

.cols-3 .col {
    width: 33.3%;
}

.cols-4 .col {
    width: 25%;
}

.input-group.col {
    margin-top: 0;
}

.input-group.col20 {
    margin-top: 0;
}

body {
    margin: 20px;
}

.tab-bar {
    margin-bottom: 1em;
}

    .tab-bar ol {
        border-bottom: 1px solid #aaa;
        margin: 0 -20px;
        padding: 0 20px;
    }

    .tab-bar li {
        background-color: #aaa;
        border: 1px solid #aaa;
        color: #fff;
        cursor: pointer;
        display: inline-block;
        font-family: Calibri,Arial,Helvetica,sans-serif !important;
        font-size: 15px;
        font-weight: normal;
        list-style-type: none;
        margin-right: 5px;
        margin-top: 0;
        padding: 5px 10px;
    }

        .tab-bar li.disabled {
            cursor: not-allowed;
            opacity: 0.45;
        }

        .tab-bar li.active {
            background-color: #fff;
            border-bottom: 1px solid #fff;
            color: #128c59;
            position: relative;
            top: 1px;
        }

.result-count {
    padding-right: 4px;
}

    .result-count:empty {
        padding-right: 0;
    }

.tab-group ~ * {
    margin-top: 0;
}

.info-panel {
    float: left;
    padding-right: 20px;
    width: 30%;
}

    .info-panel * + * {
        margin-top: 0.5em;
    }

.input-panel {
    background-color: #f7f7f7;
    border: 1px solid #dddddd;
    float: left;
    height: 100%;
    overflow: auto;
    padding: 10px;
    width: 100%;
}

    .input-panel.has-info-panel {
        margin-top: 0;
        width: 70%;
    }

.product-image {
    border: 1px solid #dddddd;
    padding: 5px 0;
    text-align: center;
}

.product-pic {
    height: 48px;
    text-align: center;
}

.product-title {
    font-family: Calibri,Arial,Helvetica,sans-serif !important;
    text-align: center;
    color: #128c59;
    font-size: 1.8em;
    font-weight: bold;
    padding: 0.3em 0;
}

.sak-title {
    font-family: Calibri,Arial,Helvetica,sans-serif !important;
    text-align: left;
    color: #128c59;
    font-size: 1.4em;
    padding: 0.3em 0;
}

.form-horizontal {
    float: left;
    margin-top: 0;
    width: 100%;
}

.form-tab-view {
    height: 275px;
    padding: 1em 0;
}

    .form-tab-view + .form-tab-view {
        margin-top: 0;
    }

.input-group {
    margin-top: 2em;
}

    .input-group:first-of-type {
        margin-top: 0;
    }

.control-group.disabled {
    display: none;
}

.control-label {
    display: inline-block;
}

.controls {
    margin-top: 0;
    white-space: nowrap;
}

    .controls * {
        margin-top: 0;
    }

label.checkbox {
    padding-left: 10px;
}

.hint {
    padding: 5px 0;
}

.form-actions {
    margin-top: 0;
    text-align: right;
}

    .form-actions > * {
        margin-top: 0;
    }

input.btn {
    /*background-image: url('../Img/Store/button-bg.png');*/
    background-color: #128c59;
    /*border: 1px solid #aaa;*/
    border: none;
    /*border-radius: 4px;*/
    border-radius: 0px;
    color: white;
    cursor: pointer;
    height: 37px;
    margin-left: 8px;
    padding: 0 10px;
}

    input.btn:hover {
        border-color: #a5d2be;
    }

button.btn {
    /*background-image: url('../Img/Store/button-bg.png');*/
    background-color: #128c59;
    /*border: 1px solid #aaa;*/
    border: none;
    /*border-radius: 4px;*/
    border-radius: 0px;
    color: white;
    cursor: pointer;
    height: 37px;
    margin-left: 0px;
    padding: 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    button.btn:hover {
        border-color: #a5d2be;
    }

button.disabled {
    cursor: not-allowed !important;
    opacity: 0.45 !important;
}

#results-view {
    width: 100%;
}

/*aņadido para grid*/
#rejilla {
    height: 325px;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
    color: #646472;
}

#cargador {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    z-index: 9;
    width: 148px;
    height: 60px;
    margin: -148px 0 0 -60px;
}

/*Prueba alinear cabeceras*/
.textalignrightsort {
    text-align: right !important;
}

.textalignright {
    text-align: right !important;
}

.textalignleft {
    text-align: left !important;
}

.textalignrightsort div {
    padding-right: 10px;
}

.textalignright div {
    padding-right: 2px;
}

.textalignleft div {
    padding-left: 2px;
}


/*Parametros dobles*/
table.input-table td {
    padding: 1em 4px 0;
    vertical-align: top;
    text-align: right;
}

table.input-table tbody td:last-child {
    text-align: left;
}

table.input-table input {
    width: 5.5em;
}



/*Usado en valiadacion*/
input.error {
    border: 1px solid red;
    border-radius: 2px;
    -moz-box-shadow: 0 0 2px 2px #f61223;
    -webkit-box-shadow: 0 0 2px 2px #f61223;
    box-shadow: 0 0 2px 2px #f61223;
}

div#rejilla img {
    cursor: pointer;
}

div#rejilla td {
    cursor: pointer;
}

div#rejilla img {
    cursor: pointer;
}

div#rejilla td {
    cursor: pointer;
}

.schako-decimal-value {
    text-align: right;
}

.schako-integer-value {
    text-align: right;
}

.schako-decimal-width {
    width: 80px;
}

.schako-section-calculation-background {
    background-color: #128c59;
}

.no-margin-top {
    margin-top: 0px !important;
}