/* -- Custom CSS -- */

.header-logo {
    margin: 3px 20px 0 0;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

/* System Messages */
.sysmsgdiv {
    padding-right: 3px;
    min-height: 62px;
    position: relative;
}
.sysmsgdiv > .body {
    width: auto;
    margin-right: 12px;
    position: relative;
}
.sysmsgdiv > .body > .time {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #666;
    position: absolute;
    right: 0;
    top: 0;
}
.sysmsgdiv > .body > .time .ace-icon {
    font-size: 14px;
    font-weight: normal;
}
.sysmsgdiv > .body > .name {
    display: block;
    color: #999;
}
.sysmsgdiv > .body > .name > b {
    color: #777;
}
.sysmsgdiv > .body > .text {
    display: block;
    position: relative;
    margin-top: 2px;
    padding-bottom: 19px;
    font-size: 13px;
}
.sysmsgdiv > .body > .text:after {
    display: block;
    content: "";
    height: 1px;
    font-size: 0;
    overflow: hidden;
    position: absolute;
    left: 16px;
    right: -12px;
    margin-top: 9px;
    border-top: 1px solid #E4ECF3;
}
.sysmsgdiv > .body > .text > .ace-icon:first-child {
    color: #DCE3ED;
    margin-right: 4px;
}
.sysmsgdiv:last-child > .body > .text {
    border-bottom-width: 0;
}
.sysmsgdiv:last-child > .body > .text:after {
    display: none;
}

.sysmsgdiv .tools {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: none;
}
.sysmsgdiv .tools .btn {
    border-radius: 36px;
    margin: 1px 0;
}
.sysmsgdiv .body .tools {
    bottom: 4px;
}
.sysmsgdiv:hover .tools {
    display: inline-block;
}

/* Operations Bar */
.ops-bar{
    margin: 0 0 10px;
    border-bottom: 1px dotted #e2e2e2;
    padding: 0;
}

/* Per row/record action buttons */
.record-actions > .btn {
    margin: 0 3px 0 0;
}

/* Center a column */
.col-centered{
    float: none;
    margin: 0 auto;
}

label.error{
    color: red;
}


.external_error_container{
    margin: 0 auto;
}

@media only screen and (min-width: 500px) {
    .external_error_container{
        width: 500px;
    }
}
@media only screen and (max-width: 480px) {
    .external_error_container{
        width: 100%;
    }
}

/* More compact page header */
.compact_page_header {
    border-bottom: 1px dotted #e2e2e2;
    margin: 0 0 5px;
    padding-bottom: 5px;
    padding-top: 6px;
}

.compact_page_header h1 {
    color: #2679b5;
    font-size: 22px;
    font-weight: lighter;
    margin: 0 4px;
    padding: 0;
}

/* Option button container */
.bordered_option_container {
    border-bottom: 1px dotted #e2e2e2;
    margin: 0 0 5px;
    padding-bottom: 5px;
}

/* For spacing of option buttons e.g. add entry */
.opt_button_row{
    margin: 0 0 0 -15px;
    padding: 0 2px;
}

.opt_button_row .btn{
    margin-bottom: 5px;
}

/* For options buttons in tables */
.option_button_column a{
    margin-right: 5px;
}

.option_button_column > a:last-child{
    margin-right: 0;
}

/* classes for padding & margin */
.push_down_10{
    margin-bottom: 10px;
}

hr.valuation {
    margin-top: 10px;
    margin-bottom: 5px;
}

hr.slim {
    margin-bottom: 5px;
    margin-top: 5px;
}

.pagination > li > a, .pagination > li > span {
    padding: 5px 12px;
}

/* Icon pulse */
.icon-pulse {
    display: inline-block;
    -moz-animation: pulse 2s infinite linear;
    -o-animation: pulse 2s infinite linear;
    -webkit-animation: pulse 2s infinite linear;
    animation: pulse 2s infinite linear;
}

@-webkit-keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@-o-keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@-ms-keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Background Image */
body {
    background: url(/assets/img/background5.png) no-repeat bottom right fixed;
    background-size: 30%;
}

.navbar-brand {
    display: flex;
    align-items: center;
}
.navbar-brand img {
    height: 50px;
    margin-left: -10px !important;
}

/* Checkbox toggles glyphicon opacity */
.btn span.glyphicon {
    opacity: 0;
}
/* Checkbox toggles glyphicon opacity */
.btn.active span.glyphicon {
    opacity: 1;
}

/* Checkbox toggles glyphicon opacity */
.styled_checkbox span.glyphicon {
    opacity: 0;
}
/* Checkbox toggles glyphicon opacity */
.styled_checkbox.active span.glyphicon {
    opacity: 1;
}

/* Style Table Hover */
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: rgb(150, 150, 150);
    background-color: rgba(150, 150, 150, 0.5);
}

/* Notification Number */
.notification-number {
    font-weight: 600;
    padding: 2px 6px 2px 6px;
    background:#ec971f;
    color:white;
    width:18px;height:20px;
    text-align:center;
    line-height:18px;
    border-radius:75%;
    box-shadow:0 0 2px #333;
}

.navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #428bca !important;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #428bca !important;
}

.nav {
    margin-bottom: -2px !important;
}

.system-menu {
    padding-left: 0 !important;
}

.radio {
    padding-top: 10px;
}
