/*!
Alpaca Version 1.1.3

Copyright 2014 Gitana Software, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); 
you may not use this file except in compliance with the License. 

You may obtain a copy of the License at 
	http://www.apache.org/licenses/LICENSE-2.0 

Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
See the License for the specific language governing permissions and 
limitations under the License. 

For more information, please contact Gitana Software, Inc. at this
address:

  info@gitanasoftware.com
*/
/*
 * Bootstrap wants help text to have the "help-block" class.  Unfortunately, this block insists on display:block
 * which causes next-line formatting issues.  The "help-inline" class orients back to display: inline-block.
 */
.help-inline
{
    display: inline-block !important;
}

.help-block alpaca-controlfield-message-text
{
    display: inline-block !important;
    margin-left: 4px;
}

/*
 * When in an error state, adjust the glyphicons as well.
 */
.has-error .glyphicon
{
    color: #b94a48;
}

/**
 * Helper messages will have their glyphicon's dimmed to the appropriate color
 */
.alpaca-controlfield-helper .glyphicon
{
    color: #737373;
}

/**
 * Labels for control fields should be inline
 */
.alpaca-controlfield-label DIV
{
    display: inline-block;
}

/**
 * Some spacing after the array item toolbar
 */
.alpaca-fieldset-array-item-toolbar
{
    margin-bottom: 5px;
}

/**
 * label spacing
 */
.alpaca-fieldset-legend-button-text
{
    padding-left: 6px;
}

/**
 * Hide hidden messages
 */
.alpaca-controlfield-message-hidden
{
    display:none;
}


/*
.alpaca-controlfield-helper-text
{
    vertical-align: bottom;
    padding-left: 4px;
}

.alpaca-controlfield-phone input
{
    background: none;
}

.alpaca-controlfield-email input
{
    background: none;
}

.alpaca-controlfield-time input
{
    background: none;
}

.alpaca-controlfield-date input
{
    background: none;
}

.alpaca-fieldset-array-toolbar-add
{
    margin-top: 10px;
}

.alpaca-fieldset-array-toolbar-icon span
{
    margin-left: 4px;
    vertical-align: middle;
}

.alpaca-controlfield-editor
{
    position: relative;
    width: 100%;
    height: 300px;
    border: 1px #ccc solid;
}

.alpaca-controlfield-editor .control-field-editor-el
{
    position:absolute;
    top:0;
    bottom:0;
    left: 0;
    right:0
}

DIV.alpaca-controlfield-text .twitter-typeahead .tt-dropdown-menu
{
    background-color: white;
    border: 1px #777 solid;
    padding-left: 10px;
    margin-left: 2px;
    padding-right: 10px;
    color: #ccc;
}

DIV.alpaca-controlfield-text .twitter-typeahead .tt-dropdown-menu P
{
    font-size: 1em;
}

.tt-suggestion.tt-is-under-cursor
{
    background-color: #ccc;
    color: #333;
}

.alpaca-controlfield-checkbox INPUT[type=checkbox]
{
    margin-left: 0px;
}

textarea
{
    border-radius: 6px;
    border: 1px #ccc solid;
    box-shadow: 0px 0px;
    width: 280px;
}

select
{
    border-radius: 6px;
    border: 1px #ccc solid;
    box-shadow: 0px 0px;
    width: 280px;
}

fieldset.alpaca-view-web-list.fieldset-collapsed
{
    border: solid 1px #ccc;
    border-radius: 6px;
}
*/

/** Type Ahead with Bootstrap **/
.tt-hint
{
    padding-top: 9px !important;
    padding-left: 12px !important;
}

.alpaca-hidden
{
    display: none;
}

.help-block
{
    display: inline-block;
}

.alpaca-controlfield-message-hidden {
    display: none;
}


.alpaca-fileupload-container
{
    border: 1px #ccc solid;
    padding: 10px;
    border-radius: 5px;
}

.alpaca-fileupload-container .row
{
    margin-bottom: 10px;
}

.alpaca-fileupload-well
{
    /*border: 1px #ccc solid;*/
    padding: 10px;
    border-radius: 5px;
    min-height: 100px;
}

.alpaca-fileupload-container table
{
    border: 1px #ccc solid;
    padding: 10px;
    border-radius: 5px;
}

.alpaca-fileupload-well p
{
    padding-top: 20px;
    color: #888;
}
