html {
    /*
    background-color: #FAF5E9;
    */
}
body {
    font-family: Arial, Helvetica, Sans-serif; font-size: 10pt;
}

a,
button,
input { outline-style: none !important; }
a:hover,
a:active,
a:focus { outline: 0; }

::-webkit-input-placeholder {
    color: #AAA !important;
}
:-moz-placeholder {
    color: #AAA !important;
}

/**
 * Override table preference
 */
.table caption { font-size: 16pt; text-align: left; padding: 7px 0; }
.table input,
.table textarea,
.table select,
.table .uneditable-input { margin: 0; }
.table .checkbox { width: 14px !important; vertical-align: middle; text-align: center; }
.table .checkbox input { margin: 0; }
.table tbody tr td { text-align: inherit; }
.table tbody tr td textarea { height: auto !important; line-height: 1.1em !important; font-size: 1em !important; }
.table tbody tr.tDnD_whileDrag { border: 1px solid black; }
.table tbody tr.tDnD_whileDrag td { background-color: #CEE7FF; border-color: #CEE7FF; }
.table thead tr th.dragHandle { width: 14px; vertical-align: middle; text-align: center; padding: 0; }
.table tbody tr td.dragHandle {
    background: #DDDDDD url('../images/drag-vertical.png') 50% 50% no-repeat;
    background-color: #e9e9e9 !important;
    cursor: pointer !important;
    border-right: 1px solid #DDDDDD;
    width: 14px; padding: 0;
}
.table tbody tr td small,
.table tbody tr td time { font-size: 8pt; display: block; }
.table tbody tr td kbd { font-size: 8pt; color: #3a8ce6; }
.table tbody tr td small { }
.table tbody tr td small strong { display: inline-block; min-width: 100px; }
.table thead tr th.sortable:hover { opacity: 0.65; cursor: pointer; }
.table thead tr th.sortable span { vertical-align: bottom; width: 14px; display: block; height: 14px; float: right; margin-top: 2px; }
.table thead tr th.asc span,
.table thead tr th.desc span { background: url("../img/glyphicons-halflings.png") no-repeat 0 0; }
.table thead tr th.asc span { background-position: -288px -120px; }
.table thead tr th.desc span { background-position: -313px -119px; }
.table .button-group a,
.table .button-group span,
.table .button-group select,
.table .button-group input { float: left; display: block; }
.table .button-group span { line-height: 26px; margin: 1px 5px; }
.table .button-group .divider { border-left: 1px solid #ccc; border-right: 1px solid #fff; height: 26px; }
.table .button-group > .btn { margin: 0 2px; }
.table .button-group .btn-group { margin:0 2px; }

.table .button-group .btn span { line-height: inherit; margin: inherit; }
.table tr.highlight,
.table tr.highlight td { background-color: #fff8dd !important; }
.table td.editing { padding: 0; }
.table td.editing input { width: 100%; }
.table a.ctrl { width: 16px; height: 16px; line-height: 16px; margin: 6px;opacity:0.4; }
.table a.ctrl:hover { cursor: pointer; opacity: 0.7; }
/**
 * End table
 */

.form-horizontal.no-action-padding .form-actions
{
    padding-left: 20px;
}

.form-horizontal .controls {margin-left: 170px;}
.form-horizontal .controls:first-child {*padding-left:170px;}
.form-horizontal .form-actions {padding-left: 170px;}

.form .help-block,
.form-horizontal .help-block{
    color: #AAA; font-size: 9pt;
}

#tinymce { font-size: 12pt !important; }

.Google img {
    max-width: none;
}

.mini.carousel .item > img {margin:0 auto;}
.mini.carousel .carousel-control {
    font-size: 30px;
    font-weight: bold;
    margin-top: -15px;
    top: 50%; left: 5px;
    width: 30px; height: 30px; line-height: 25px;
}
.mini.carousel .carousel-control.right {
    left:auto;
    right:5px;
}

.thumbnails .first { margin-left: 0; }

.thumbnail { background-color: white; }
.thumbnail > img { max-width: 100% !important;}
.thumbnail p { padding: 0; margin: 5px 0; line-height: 1em; }

#container { }

.dl-horizontal dt,
.dl-horizontal dd {line-height: 18px;}

.dl-horizontal.default dt{text-align: left;}

.dl-horizontal.compact { font-size: 8pt; }

.dl-horizontal.compact dt { width: 80px; line-height: 2em; }
.dl-horizontal.compact dd { margin-left: 90px; line-height: 2em; }

.icon-gray {
    background-image: url("../img/glyphicons-halflings-gray.png") !important;
}
.icon-red {
    background-image: url("../img/glyphicons-halflings-red.png") !important;
}
.icon-blue {
    background-image: url("../img/glyphicons-halflings-blue.png") !important;
}
.icon-green {
    background-image: url("../img/glyphicons-halflings-green.png") !important;
}

h3 {line-height: 1.3em;}

/*
Popover background opacity alteration
*/
.popover {background-color: rgba(255, 255, 255, 0.9);}
.popover.left .arrow { border-left-color: rgba(255, 255, 255, 0.9);}
.popover.right .arrow { border-right-color: rgba(255, 255, 255, 0.9);}
.popover.top .arrow { border-top-color: rgba(255, 255, 255, 0.9);}
.popover.bottom .arrow { border-bottom-color: rgba(255, 255, 255, 0.9);}
.popover-title {background-color: transparent;border:0;font-weight: bold; padding: 4px 7px;}
.popover-content {padding: 4px 7px;}

.nav-tabs > .active > a > [class^="icon-"],
.nav-tabs > .active > a > [class*=" icon-"]{ background-image: url("../img/glyphicons-halflings.png"); opacity: 0.5;}

.form-horizontal .controls-row .help-block {
    margin-top: 20px;
    width:100%;
}