﻿/* HEADER
-----------------------------------------------------------*/

.agro-brand {
    height: 84px;
}

.header-logo {
    margin: 30px 0 20px;
    width: 210px;
    height: 34px;
}

/* STICKY FOOTER
-----------------------------------------------------------*/

html, body {
    height: 100%;
}

#wrap {
    min-height: 100%;
}

#main {
    min-height: 500px;
    padding-bottom: 100px;
}

#footer {
    position: relative;
    margin-top: -100px;
    height: 100px;
    clear: both;
}

body:before {
    content: "";
    height: 100%;
    float: left;
    width: 0;
    margin-top: -32767px;
}

/* LOGIN
-----------------------------------------------------------*/

.login-form {
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    transition: opacity 0.3s linear;
}


/* GLOBAL
-----------------------------------------------------------*/

input[readonly="readonly"].text-cursor,
input[disabled="disabled"].text-cursor {
    cursor: text;
}

.navbar-form input[type="text"],
.navbar-form input[type="password"],
.navbar-form .btn {
    margin-left: 10px;
}

.adjustables {
    margin: 20px 0;
    opacity: 1;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    transition: opacity 0.3s linear;
}

.adjustables-header {
    margin-bottom: 0;
}

.overflow-handler {
    overflow: auto;
}

table {
    background: white;
    white-space: nowrap;
    font-size: 12px;
}

.adjustables .table-bordered {
    border-radius: 0;
    margin-bottom: 0;
}

    .adjustables .table-bordered thead:last-child tr:last-child > th:first-child,
    .adjustables .table-bordered tbody:last-child tr:last-child > td:first-child {
        border-radius: 0;
    }

.display-label b {
    margin-right: 1em;
}

.trSinBordes, .trSinBordes td {
    border: none;
}

.adjustables-pagination {
    margin-top: 0;
}

.filter input[type="text"] {
    margin-bottom: 0;
}

th {
    color: #0088cc;
}

.spinner {
    display: none;
    background: url(../img/spinner.gif) top center no-repeat;
    height: 62px;
    width: 200px;
    margin: 69px auto;
}

.show {
    display: block !important;
}

.spinner-small {
    display: none;
    background: url(../img/spinner-small.gif) center center no-repeat;
    height: 20px;
    width: 100%;
    margin: 10px auto;
}

.spinnerBoton {
    display: inline-block;
    background: url(../img/spinner_boton.gif) top center no-repeat;
    height: 26px;
    width: 30px;
    margin: 2px auto;
}

.espereBoton {
    vertical-align: top;
    line-height: 34px;
    display: inline-block;
    color: #c0fac2;
}

.spinner-adjustables {
    position: relative;
}

    .spinner-adjustables .spinner {
        display: block;
        position: absolute;
        width: 100%;
    }

.icon {
    height: 0;
    padding-top: 16px;
    width: 16px;
    overflow: hidden;
}

.icon-pdf {
    margin-right: 4px;
    background: url('../img/document-pdf-text.png');
}

.icon-agregar {
    margin-right: 4px;
    background: url('../img/add.png');
}



/* Styles for validation helpers
-----------------------------------------------------------*/

.field-validation-error {
    display: block;
    color: #f00;
    font-size: 10px;
    margin: -10px 0 5px 0;
}

.navbar-form .field-validation-error {
    margin: 0 0 0 10px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #f00;
    background-color: #fee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #f00;
}

.validation-summary-valid {
    display: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.view-form .alert {
    margin-top: 10px;
}

/* navbar-actions.js CSS
-----------------------------------------------------------*/
.action-disabled {
    cursor: default;
}

    .action-disabled i {
        opacity: .2;
        filter: alpha(opacity=20);
    }

.action-column-header,
.action-column {
    display: none;
}

.action-radio-header,
.action-radio {
    width: 13px;
}

input[type="radio"] {
    margin: 0;
    padding: 0;
}

/* jquery-ui dialogs overridden CSS
-----------------------------------------------------------*/

.ui-widget {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ui-front {
    z-index: 1100;
}

.ui-dialog-title {
    font-size: 12px;
}

.ui-button-icon-only .ui-icon {
    margin-left: -9px;
}

.ui-dialog .ui-dialog-content {
    overflow: visible;
}

.btn-success, .btn-danger {
    color: white !important; /* !important overrides jquery-ui dialog css specificity */
}

/* dialogs content CSS
-----------------------------------------------------------*/

.ui-dialog form {
    margin-bottom: 0;
}

.display {
    padding: 4px 6px;
    border: 1px solid #CCC;
    background: #EEE;
    line-height: 20px;
    min-height: 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #555;
}

.ul_options {
    margin: 0 0 10px 0;
    padding: 0;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    list-style-type: none;
}

    .ul_options li {
        line-height: 28px;
        padding-left: 10px;
    }

    .ul_options input[type="checkbox"],
    .ul_options input[type="radio"] {
        float: left;
        margin: 7px 10px 0 0;
        padding: 0;
    }

.btn-holder {
    overflow: auto;
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
    padding-top: 10px;
}

    .btn-holder .btn {
        margin: 0 0 10px 6px;
    }

        .btn-holder .btn:last-child {
            margin-left: 0;
        }

/* chosen select in jquery-ui dialogs
-----------------------------------------------------------*/

.ui-dialog .chzn-select {
    width: 220px !important;
}

@media (min-width: 1200px) {
    .ui-dialog .chzn-select {
        width: 270px !important;
    }
}

.ui-dialog textarea,
.view-form .textarea {
    height: 85px;
}

.ui-dialog .chzn-container,
.view-form .chzn-container {
    margin-bottom: 10px;
}

.ui-dialog .chzn-container-single .chzn-single,
.view-form .chzn-container-single .chzn-single {
    height: 28px;
    line-height: 28px;
}

.ui-dialog .chzn-search input,
.view-form .chzn-search input {
    height: 16px;
}

.ui-dialog .chzn-container-active .chzn-single-with-drop div b,
.ui-dialog .chzn-container-single .chzn-single div b,
.view-form .chzn-container-active .chzn-single-with-drop div b,
.view-form .chzn-container-single .chzn-single div b {
    display: block;
    margin-top: 3px;
    width: 18px;
    height: 23px;
}

/* SITE CSS
-----------------------------------------------------------*/
.table input[type="text"],
.table .field-validation-error {
    margin-bottom: 0;
}

.siniestro-options {
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    transition: opacity 0.3s linear;
}

.table .field-validation-error {
    float: left;
    width: 100%;
    display: none;
    margin-top: 0;
}

#institution_div,
#municipality {
    height: 40px;
}

.display input[type="checkbox"] {
    margin: -1px 6px 0 0;
    padding: 0;
}

.employee-status {
    border-radius: 4px;
    padding: 10px;
}

.display.top {
    padding-top: 20px;
    background: transparent;
    border-top: 0;
    border-right: 0;
    border-bottom-width: 2px;
    border-left: 0;
    border-radius: 0;
}

.main-actions .nav {
    margin-right: 0;
}

input[type="file"] {
    margin-bottom: 10px;
}

/* DATATABLE CSS
-----------------------------------------------------------*/

.filter {
    overflow: hidden;
}

.backgroundBlanco {
    background: #FFF;
}

.miniInput {
    width: 18px;
}

/* MAIN ACTIONS
-----------------------------------------------------------*/

.main-actions {
    transition: opacity 0.3s linear;
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
}

    .main-actions .btn,
    .main-actions .btn-group {
        margin-left: 4px;
    }

        .main-actions .btn-group > .btn {
            margin-left: 0;
        }

        .main-actions .btn-group > .dropdown-toggle {
            margin-left: -1px;
            padding-left: 8px;
            padding-right: 8px;
        }


.bold {
    font-weight: bold;
}

.bordered-header {
    border-bottom: 1px #CCC solid;
}

.droppable {
    min-height: 180px;
    opacity: 0.8;
    background-color: #CCC;
    border-radius: 10px;
    border: dashed 4px #555;
    color: #858585;
    font-weight: 900;
    font-size: 2em;
    line-height: 180px;
    text-align: center;
    position: fixed;
    z-index: 400;
}

.grayCentered {
    text-align: center;
    background: #F5F5F5;
    display: block;
    overflow: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.paginate_button {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 4px 12px;
    margin-bottom: 0;
    margin-top: 15px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border-color: #0a9444;
    text-decoration: none !important;
}

    .paginate_button.another {
        background: #B8DCD3 !important;
        color: black !important;
    }
