﻿html, body { height:100%; }
html, body, form { margin:0; padding:0; border:0; }

/* Primary html elements */
pre { white-space:pre-wrap; white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; word-wrap:break-word; }
textarea { min-height:80px; }

/* Primary layout elements */
.body-content { padding-left:15px; padding-right:15px; }
.page { min-height:100%; margin-bottom:-130px; }
.page:after { content:""; display:block; height:89px; }
.page-footer { height:89px; background:#ebebeb; border-color:#ddd; margin-top: 50px; }
.page-footer .navbar-brand { margin-left:-15px; }
.copyright { padding-top:38px; display:inline-block; color:#333; font-size:12px; }

/* Validations */
.field-validation-error { color:#ff0000; display:block; }
.field-validation-valid { display:none; }
.input-validation-error { border:1px solid #ff0000 !important; background-color:#ffeeee; }
.validation-summary-valid { display:none; }
.validation-summary-errors { padding:10px; border:#dd3c10 1px solid; background-color:#ffebe8; margin:5px 0; border-radius:3px; }
.validation-summary-errors ul { list-style-type:none; padding: 0px; }
.validation-summary-errors span { font-weight: bold; color: #ce4844; }

/* Helpers */
.clearfix:after { content:"."; visibility:hidden; display:block; height:0; clear:both; }

.numbers { margin-left:8px; position:absolute; top:-2px; font-weight:normal; font-size:14px; line-height:34px; color:#fff; text-align:center; width:34px; height:34px; border-radius:17px; background-color:#1abc9c; }

.btn-up { display:none; position:fixed; cursor:pointer; right:60px; bottom:20px; background-color:#1abc9c; padding-top:17px; color:#000; text-align:center; width:56px; height:56px; border-radius:28px; z-index:99; opacity:0.6;transition:all 0.2s ease 0.05s; }
.btn-up:hover { color:#eee; opacity:0.85 }

.fix-block-right { width: 250px; position: fixed; top: 100px; right: 10px; padding: 8px; z-index: 100; opacity: 0.85;  }

h4.page-header { border-bottom: 1px solid #ddd; padding: 4px; }

.controls { margin: 20px 0; height: 30px; }
.controls ul.pagination { margin: 0px; }

.row-controls { margin-top: 20px; margin-bottom: 20px; }


/* Margin and Padding */
.nomargin { margin:0; }
.notmargin { margin-top:0; }
.normargin { margin-right:0; }
.nobmargin { margin-bottom:0; }
.nolmargin { margin-left:0; }
.nopadding { padding:0; }
.notpadding { padding-top:0; }
.norpadding { padding-right:0; }
.nobpadding { padding-bottom:0; }
.nolpadding { padding-left:0; }
.margin-b-1 { margin-bottom: 10px; }
.margin-t-1 { margin-top: 10px; }
.margin-l-1 { margin-left: 10px; }
.margin-l-2 { margin-left: 20px; }

/* borders */
.border-b-light { border-bottom: 1px dotted #ddd; }


/* Filter */
.navbar-nav > li > .filter-icon { padding-left:30px; padding-right:30px; }
.filter-frame { background:#1d2934; z-index:100; position:absolute; width:100%; padding:20px 0; top:100px; /*margin-top:-20px;*/ }
.filter-frame h2, .filter-frame h3, .filter-frame h4, .filter-frame h5,
.filter-frame label { color:#fff; font-weight:normal; }
.filter-frame hr { margin:0; border-top:1px solid #233240; }
.filter-frame .btn:focus, 
.filter-frame .btn { color:#fff; background:#1abc9c; border-color:#1abc9c; font-size:16px; width:150px; }
.filter-frame .btn:hover { background:#0ea587; border-color:#0ea587; }


.table > tbody > tr.header > td { background-color: #f8f8f8; }
.table > tbody > tr.header-light > td { background-color: #fafafa; }

.panel .panel-body .table { margin-bottom: 0px; }
.table-slim > thead > tr > th, .table-slim > tbody > tr > th, .table-slim > tfoot > tr > th, .table-slim > thead > tr > td, .table-slim > tbody > tr > td, .table-slim > tfoot > tr > td 
{ padding: 4px; }
.table-noborder > thead > tr > th, .table-noborder > tbody > tr > th, .table-noborder > tfoot > tr > th, .table-noborder > thead > tr > td, .table-noborder > tbody > tr > td, .table-noborder > tfoot > tr > td 
{ border: none; }

.datepicker{ z-index:4151 !important; }


/* jQuery overload */

.ui-front { z-index: 3001; }

/* Filter */
.filter-area {
    
    border: 1px solid #eee;
    background: #fafafa;
}

#filter {
    width: 500px;
    position: absolute;
    left: 0px;
    z-index: 50;
    padding: 10px 10px 10px 50px;
}

#filter-control {
    position: absolute;
    left: 0px;
    z-index: 51;
    height: 500px;
}

#filter h5 { border-bottom: 1px solid #ccc; font-weight: bold; padding: 0 0 4px 0; }
#filter label { font-weight: normal; }

.filter {}
.filter .table-filter > tbody > tr > td { vertical-align: middle; border: none; border-bottom: 1px solid #eee; font-size: 85%; padding: 4px; }
.filter .table-filter > tbody > tr > td:first-child { text-align: right; width: 150px; }
.filter .table-filter > tbody > tr > td label { margin: 0; font-weight: normal; }
.filter .table-filter > tbody > tr > td.text-align-left{ text-align: left; }
.filter .table-filter > tbody > tr > td.right { text-align: right; }
.filter .table-filter > tbody > tr > td.first-column { width: 150px; }
.filter .panel-footer { text-align: right; }

.panel-footer .btn-group form { display: inline; }

/* Aux */
span.right, div.right { float: right; }
.notFound { color: red; }
.strong { font-weight: bold; }
.text-gray-ligth { color: #aaa; }
.text-gray { color: #666; }


.message { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; border-color: #eee; border-image: none; border-radius: 3px; border-style: solid; border-width: 1px 1px 1px 5px; margin: 20px 0; padding: 20px; }
.message h4 { margin-bottom: 5px; margin-top: 0; }
.message p:last-child { margin-bottom: 0; }
.message-danger { border-left-color: #ce4844; }
.message-danger h4 { color: #ce4844; }
.message-warning { border-left-color: #aa6708; }
.message-warning h4 { color: #aa6708; }
.message-info { border-left-color: #1b809e; }
.message-info h4 { color: #1b809e; }


.controlWarn { background-color: #FFAAAA; }
span.smalltext { font-size: 10px; }

/* ITreeEntity */

select.ITreeEntity {}
select.ITreeEntity option { padding: 2px; border-bottom: 1px solid #eee; }
select.ITreeEntity option.level0 { font-weight: bold; background-color: #e8e8e8; }
select.ITreeEntity option.level1 { padding-left: 10px; }
select.ITreeEntity option.level1:before { content: "|- " }
select.ITreeEntity option.level2 { padding-left: 20px; }
select.ITreeEntity option.level2:before { content: "|- " }
select.ITreeEntity option.level3 { padding-left: 30px; }
select.ITreeEntity option.level3:before { content: "|- " }
select.ITreeEntity option.level4 { padding-left: 40px; }
select.ITreeEntity option.level4:before { content: "|- " }

/* References controls up */

ul.pro_list2 { margin: 0px; padding: 0px;}
ul.pro_list2 li{ display:block;background:url(/Content/images/ul_list2_marker.png) 0 10px no-repeat; border-top:1px dotted #ddd; padding: 5px 0 6px 16px;line-height:16px; font-size:13px;}
ul.pro_list2 li:first-child{ border-top:none;}


ul.macaque-reports li{ padding: 5px 0 6px 24px; line-height: 20px; }
ul.macaque-reports li[reportProvider='Simple']{ background:url(/Content/images/excel.png) 0 6px no-repeat;}
ul.macaque-reports li[reportProvider='FastReport']{ background:url(/Content/images/print_form.png) 0 6px no-repeat;}

table thead tr th.bool, table tbody tr td.bool  { width: 32px; }

table.table-bordered thead tr td.nolrpadding { padding-left: 0px; padding-right: 0px; }

table thead tr th.buttons-xs-1, table tbody tr td.buttons-xs-1{ width: 32px; }
table thead tr th.buttons-xs-1-dd-1, table tbody tr td.buttons-xs-1-dd-1{ width: 68px; }
table thead tr th.buttons-xs-2-grp, table tbody tr td.buttons-xs-2-grp{ width: 54px; }
table thead tr th.buttons-xs-2, table tbody tr td.buttons-xs-2{ width: 70px; }
table thead tr th.buttons-xs-2-dd-1, table tbody tr td.buttons-xs-2-dd-1{ width: 80px; }
table thead tr th.buttons-xs-3, table tbody tr td.buttons-xs-3{ width: 98px; }

table thead tr th.datetime { width: 100px; }
table thead tr th.date { width: 84px; }

.color-logo { color: #1abc9c; }
.bg-color-logo { background-color: #1abc9c; color: #fff; }
.bg-color-gray { background-color: #dedede; }

.bg-info { background-color: #d9edf7; }

ul.messages-info { padding: 0px;}
ul.messages-info li { list-style-type: none; padding: 0px; margin: 0px; }
ul.messages-info li span.severity { font-weight: bold; }
ul.messages-info li span.severity[data-severity='Error'] { color: red; font-weight: bold; }


.tooltip_templates { display: none; }
.bg-color-logo { background-color: #1abc9c; color: #fff; }

.bg-danger {background-color: #f2dede; }

.text-red {color: red;}

.bs-callout {padding:20px;margin:20px 0;border:1px solid #eee;border-left-width:5px;border-radius:3px}
.bs-callout h4{margin-top:0;margin-bottom:5px}
.bs-callout p:last-child{margin-bottom:0}
.bs-callout code{border-radius:3px}
.bs-callout+.bs-callout{margin-top:-5px}
.bs-callout-danger{border-left-color:#ce4844}
.bs-callout-danger h4{color:#ce4844}
.bs-callout-warning{border-left-color:#aa6708}
.bs-callout-warning h4{color:#aa6708}
.bs-callout-info{border-left-color:#1b809e}
.bs-callout-info h4{color:#1b809e}

.small-control { width: 80px; }


.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }