h1.panel-title {
   color: #043673;
}

#wrapper {
   border-bottom: 1px solid #e7e7e7;
}

.footer {
   padding: 15px;
   margin: 0 25%;
}

/* Form errors */
form .error {
        background: #f2dede;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;
        font-weight: normal;
}
form .error-message {
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        border: none;
        background: none;
        margin: 0;
        padding-left: 8px;
        padding-right: 0;
        padding-top: 4px;
        padding-bottom: 4px;
}
form .error,
form .error-message {
        color: #B90E0E;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        -ms-box-shadow: none;
        -o-box-shadow: none;
        box-shadow: none;
        text-shadow: none;
}

.required label:before, label.required:before {
   content: '* ';
   color: #B90E0E;
   display: inline;
}

.message {
   margin-top: 20px;
   margin-bottom: 0px;
   color: #8a6d3b;
   background-color: #fcf8e3;
   padding: 15px;
   border: 1px solid #faebcc;
   border-radius: 4px;
   text-align: center;
   font-weight: 800;
}

.onix-report {
    margin-top: 20px;
    margin-bottom: 0px;
    color: #8a6d3b;
    background-color: #fcf8e3;
    padding: 15px;
    border: 1px solid #faebcc;
    border-radius: 4px;
    text-align: left;
    font-weight: 800;
}

.success {
   color: #3c763d;
   background-color: #E0EFD8;
   border-color: #d6e9c6
}

.error {
   color: #B90E0E;
   background-color: #f2dede;
   border-color: #ebccd1
}

.report {
    margin:0px 0 10px 0;
    width:100%;
}

.report td,#dt_table td,#fixed_header td {
    border-top:1px solid #ddd;
    padding:2px 5px;
    vertical-align: middle;
}

.report th {
    font-weight:bold;
    padding:5px;
}

.report thead,.report tbody,#dt_table thead,#dt_table tbody,#fixed_header thead,#fixed_header tbody {
    border-bottom:2px solid #aaa;
}

.btn-text {
   overflow: hidden;
   text-overflow: ellipsis;
}

.well-atn {
   margin-top: 15px;
}

.btn-atn {
   margin-bottom: 5px;
}

.btn-atn-small {
   width: 20px;
   height: 20px;
   padding-top: 3px;
}

.small-atn {
   padding-top: 3px;
}

.media-atn {
   margin-bottom: 10px;
}

.panel-atn {
   margin-top: 5px;
   margin-bottom: 5px;
}

.form-group-atn {
   margin-bottom: 5px;
}

.form-view {
   background-color: #f9f9f9;
   height: 100%;
   min-height: 32px;
   padding: 4px 12px;
   overflow: hidden;
   text-overflow: ellipsis;
}

.huge-atn {
   font-size: 20px;
}

.pager-atn {
   margin-bottom: 10px;
}

.lead-atn {
   margin-bottom: 5px;
   font-size: 18px;
}

.left-15 {
   margin-left: 15px;
}

.row-atn {
   margin-top: 5px;
}

a:hover {
   text-decoration: none;
}

.cm {
   padding-top: 10px;
}

.save {
   margin-right: 15px;
}

a.messages {
   margin-right: 5px;
}

.form-control-atn {
   height: 32px;
}

.form-control-dd {
   height: 100%;
   min-height: 32px;
   padding: 4px 12px;
   border: 1px solid #ccc;
   border-radius: 4px;
   margin-bottom: 5px;
}


.control-label-atn {
   padding-top: 5px;
   padding-left: 10px;
}

.panel-footer-atn {
   background-color: #fff;
   border-top: none;
}

.tab-pane-atn {
   padding: 20px;
   border-left: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
   border-right: 1px solid #ddd;
}

.nav-tabs-atn {
   margin-top: 15px;
}

.tab-content-atn {
   margin-bottom: 15px;
}

.nav-tabs>li>a {
   border: 1px solid #ddd;
}

.nav-tabs>li.active>a {
   border-bottom: 1px dotted #ddd;
   border-bottom-color: rgba(221, 221, 221, .5);
   font-weight: 600;
}

.disabled {
    color: #4d4d4d;
}

/* calendar */

.form .ui-datepicker-calendar td,.form .ui-datepicker-calendar th {
    padding:10px;
}

.ui-datepicker-calendar td, .ui-datepicker-calendar th {
    padding:5px;
}

.ui-datepicker-calendar th {
    padding:5px;
    text-align: center;
}

.ui-datepicker-calendar {
    width: 265px;
}

.ui-datepicker {
    text-align:center;
    max-width: 265px;
}

.ui-datepicker-calendar td:hover:not(.ui-state-disabled,.ui-datepicker-current-day),.ui-datepicker-calendar td:active:not(.ui-state-disabled,.ui-datepicker-current-day) {
    background-color:#e0d1b2;
    text-decoration:none;
}

.ui-datepicker-current-day,.ui-state-highlight,.ui-state-active {
    background-color:#003399;
    color:#fff;
    font-weight:500;
}

.ui-datepicker-current-day:hover,.ui-state-highlight:hover,.ui-state-active:hover,.ui-datepicker-current-day:active,.ui-state-highlight:hover,.ui-state-active:hover {
    color:#fff;
    text-decoration:none;
}

.ui-datepicker-next {
    float:right;
    margin:5px;
}

.ui-datepicker-prev {
    float:left;
    margin:5px;
}

.ui-datepicker-title {
    line-height:45px;
}

#content table.rpt-calendar {width: 100%; border: 1px solid #cccccc; border-collapse: collapse; margin: 0px; padding: 0px; background-color: #ffffff;}
#content table.rpt-calendar th {background-color: #eeeeee; text-transform: none; color: #444444; padding: 4px; text-align: center; border: 1px solid #eeeeee;}

#content table.rpt-calendar th.cell-prev {text-align: left;}
#content table.rpt-calendar th.cell-next {text-align: right;}
#content table.rpt-calendar th.cell-header {width: 70px; border-bottom: 1px solid #cccccc;}
#content table.rpt-calendar td.cell-today {background-color: #e2e8f6;} /* today in the current month */
#content table.rpt-calendar td.cell-weekend {background-color: #F3F5EB;}
#content table.rpt-calendar td {border: 1px solid #cccccc; vertical-align: top; width: 14.28%}

#content table.rpt-calendar td div.cell-number {text-align: right; font-size: 10px; color: #444444; display: block; min-height: 20px;}
#content table.rpt-calendar td div {display: block; font-size: 11px; text-align: left; min-height: 80px;}
#content table.rpt-calendar thead th {border: 1px solid #cccccc;}

/* timeline */

.timeline-badge-atn {
    margin-top: 14px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #0F6C03 !important;
}

.timeline-badge.warning {
    background-color: #E9AB23 !important;
}

.timeline-badge.danger {
    background-color: #B90E0E !important;
}

.timeline-badge.info {
    background-color: #2455a5 !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-title > h2 {
   margin-top: 0px;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

@media {

    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

    ul.timeline > li > .timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }

    ul.timeline > li > .timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
}

.checkbox.disabled label {
    color: #333;
}

a.title-link {
    color: #fff;
}

.list-group-item-info {
    background-color: #D9EDF6;
}
.list-group-item-success {
    background-color: #E0EFD8;
}
.list-group-item-warning {
    background-color: #FCF3DD;
}

.panel-info>.panel-heading {
    background-color: #D9EDF6;
}
.panel-success>.panel-heading {
    background-color: #E0EFD8;
}
.panel-warning>.panel-heading {
    background-color: #FCF3DD;
}

.alert-info {
    background-color: #D9EDF6;
    font-weight: 500;
}
.alert-success {
    color: #0F6C03;
    background-color: #E0EFD8;
    font-weight: 500;
}
.alert-warning {
    background-color: #FCF3DD;
    font-weight: 500;
}

.text-info {
    color: #2455a5;
}
.text-success {
    color: #0F6C03;
}
.text-warning {
    color: #E9AB23;
}
.text-danger {
    color: #B90E0E;
}

.navbar-default .navbar-brand {
    color: #54565A;
}
