/* here you can put your own css to customize and override the theme */

/**************************
    Portlet 
 ***************************/
.form .form-section,
.portlet-form .form-section {
    margin: 30px 0 10px 0;
}

.portlet.guia h3 {
    font-size: 20px;
    color: #457C46;
}


/**************************
    Table 
 ***************************/
.table td, .table th {
    font-size: 13px;
}

.table thead tr th {
    font-size: 13px;
    color: #000;
    font-weight: 400;
}


/**************************
    UI Grid :plugin
 ***************************/
.ui-grid-header {
    height: 30px !important;
}


/**************************
    Forms 
 ***************************/
table .form-group {
    margin-bottom: 0;
}

.form-section .btn {
    float: right;
    margin-top: -10px;
    margin-left: 10px;
}

.input-icon.right > i {
    left: auto;
}

.form-control:focus {
    border-color: #457C46;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102, 233, 133, 0.60);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102, 233, 133, 0.60);
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #F7F9F3;
    opacity: 1;
}


.has-error .form-control {
    border-color: #a94442;
    color: #a94442;
}

.input-icon > i {
    color: #89A569;
}


.btn.green-dark:not(.btn-outline) {
    background-color: #89A569;
    border-color: #89A569;
}

    .btn.green-dark:not(.btn-outline):hover,
    .btn.green-dark:not(.btn-outline):active,
    .btn.green-dark:not(.btn-outline):focus {
        background-color: #6b8152;
        border-color: #6b8152;
    }

/*ref: http://stackoverflow.com/questions/25194631/is-it-possible-to-always-show-up-down-arrows-for-input-number
    Sempre exibe botões
*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}


.input-group-btn .btn.btn-sm {
    padding: 7px;
}



/**************************
    UI datepicker : plugin
 ***************************/
.uib-datepicker-popup {
    border: 1px solid #D0DCC1;
    padding: 5px;
    background-color: #F7FBF0;
    border-radius: 5px;
    z-index: 99999 !important;
}

    .uib-datepicker-popup li [class^="glyphicon-"],
    .uib-datepicker-popup li [class*=" glyphicon-"] {
        top: 0;
        line-height: 1.5;
    }

    .uib-datepicker-popup .small,
    .uib-datepicker-popup small {
        font-size: 70%;
    }

    .uib-datepicker-popup th {
        padding: 3px;
    }

    .uib-datepicker-popup .btn-default {
        background-color: #FCFFF6;
        border: 1px solid #DFE2D8;
        margin: -1px;
    }

        .uib-datepicker-popup .btn-default:hover {
            background-color: #E7EFDC;
        }



/**************************
    Bootstrap select : plugin
 ***************************/
.bootstrap-select .btn {
    font-weight: 400;
    text-transform: none;
    color: #555;
    padding: 6px 28px 6px 7px;
    border: 1px solid #BFD4B7 !important;
}


    .bootstrap-select .btn:focus {
        border: 1px solid #457C46 !important;
        background-color: #fff;
    }

.has-error .bootstrap-select .btn {
    border-color: #A94442 !important;
    color: #A94442 !important;
}

.bootstrap-select .dropdown-menu li a {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 3px 17px 3px 10px;
    font-size: 12px;
}

.bootstrap-select .bs-searchbox,
.bootstrap-select .bs-actionsbox,
.bootstrap-select .bs-donebutton {
    padding: 4px 6px;
    font-size: 12px;
}

.bootstrap-select .form-control {
    padding: 4px 6px;
    font-size: 12px;
    line-height: 1.5;
    height: 30px;
}

.bootstrap-select.btn-group .no-results {
    font-size: 12px;
}

.bootstrap-select.open > .dropdown-toggle.btn-default:hover {
    color: #333;
    background-color: #eff5e7;
    border-color: #457C46;
}


.bootstrap-select .btn-default:hover {
    color: #333;
    background-color: #fff;
    box-shadow: none;
}

.bootstrap-select .btn-default {
    box-shadow: none;
}

.bootstrap-select.btn-group.disabled,
.bootstrap-select.btn-group > .disabled {
    cursor: not-allowed;
    background-color: #F7F9F3;
    opacity: 1;
}



/**************************
    Toastr : plugin

    Toastr with FontAwesome: 
    ref: http://www.johnpapa.net/fontawesome-icons-with-toastr/

 ***************************/

#toast-container {
    width: 25%;
}

    #toast-container > .toast {
        background-image: none !important;
    }

    #toast-container > div {
        background-position: 15px center;
        background-repeat: no-repeat;
        -moz-box-shadow: 0 0 6px #999;
        -webkit-box-shadow: 0 0 6px #999;
        box-shadow: 0 0 6px #999;
        color: inherit;
        opacity: 1;
        width: auto;
    }

        #toast-container > div:hover {
            background-position: 15px center;
            background-repeat: no-repeat;
            -moz-box-shadow: 0 0 8px #838282;
            -webkit-box-shadow: 0 0 8px #838282;
            box-shadow: 0 0 8px #838282;
            opacity: 1;
        }


    #toast-container > .alert:before {
        position: relative;
        font-family: FontAwesome;
        font-size: 24px;
        line-height: 20px;
        float: left;
        margin-left: -1em;
        color: inherit;
        padding-right: 0.5em;
        margin-right: 0.5em;
    }

    #toast-container > .alert-warning {
        color: #AB9234;
    }

    #toast-container > .alert-danger {
        color: #a94442;
        background-color: #f2dede;
        border-color: #ebccd1;
    }

    #toast-container > .alert-info {
        color: #407e9c;
        background-color: #E2F0F7;
        border-color: #bce8f1;
    }

    #toast-container > .alert-success {
        color: #3c763d;
    }

    #toast-container > .alert-warning:before {
        content: "\f12a";
    }

    #toast-container > .alert-danger:before {
        content: "\f00d";
    }

    #toast-container > .alert-info:before {
        content: "\f129";
    }

    #toast-container > .alert-success:before {
        content: "\f00c";
    }

.toast-close-button {
    right: -.5em;
    top: -.7em;
    color: #393939;
}




/**************************
    sweet-alert : plugin

 ***************************/
body.stop-scrolling {
    height: 100%;
    overflow: auto;
}


.copyright {
    text-align: center;
    margin: 0 auto 30px 0;
    padding: 10px;
    color: #9EAD89;
    font-size: 13px;
}

.hint {
    margin: 20px 0 10px 0;
}

.checkbox-form {
    width: 40px;
    margin: 1px;
}

.progress {
    height: 20px;
}

.progress-bar {
    background-color: #89A569;
}

.bootstrap-select.btn-group .dropdown-menu {
    max-width: 100%;
}
