﻿html {
    height: 100%;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 12px;
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.body-content-wrapper {
    min-height: 100%;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50px;
}

a:hover {
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

li.list-group-item:hover{
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.alert {
  border-radius: 0;
  -webkit-border-radius: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.11);
  display: table;
  width: 100%;
}

.alert-white {
  background-image: linear-gradient(to bottom, #fff, #f9f9f9);
  border-top-color: #d8d8d8;
  border-bottom-color: #bdbdbd;
  border-left-color: #cacaca;
  border-right-color: #cacaca;
  color: #404040;
  padding-left: 61px;
  position: relative;
}

.alert-white.rounded {
  border-radius: 3px;
  -webkit-border-radius: 3px;
}

.alert-white.rounded .icon {
  border-radius: 3px 0 0 3px;
  -webkit-border-radius: 3px 0 0 3px;
}

.alert-white .icon {
  text-align: center;
  width: 45px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #bdbdbd;
  padding-top: 15px;
}

.alert-white .icon:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border: 1px solid #bdbdbd;
  position: absolute;
  border-left: 0;
  border-bottom: 0;
  top: 50%;
  right: -6px;
  margin-top: -3px;
  background: #fff;
}

.alert-white .icon i {
  font-size: 20px;
  color: #fff;
  left: 12px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-white.alert-success .icon, 
.alert-white.alert-success .icon:after {
  border-color: #54a754;
  background: #60c060;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #98cce6;
  color: #3a87ad;
}

.alert-white.alert-info .icon, 
.alert-white.alert-info .icon:after {
  border-color: #3a8ace;
  background: #4d90fd;
}

.alert-white.alert-warning .icon, 
.alert-white.alert-warning .icon:after {
  border-color: #d68000;
  background: #fc9700;
}

.alert-warning {
  background-color: #fcf8e3;
  border-color: #f1daab;
  color: #c09853;
}

.alert-danger {
  background-color: #f2dede;
  border-color: #e0b1b8;
  color: #b94a48;
}

.alert-white.alert-danger .icon, 
.alert-white.alert-danger .icon:after {
  border-color: #ca452e;
  background: #da4932;
}

.alert-message {
    line-height: 2;
}

.text-primary {
    color: #373D3F
}

.pad-right-1em {
    padding-right: 1em;
}

.announcement-date {
    padding-right: 1em;
}

.announcement-read {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
    filter: alpha(opacity=65);
    -moz-opacity: 0.65;
    opacity: 0.65;
    transition: all 0.5s ease;
}

.table-announcement {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

.announcement-subject {
    font-weight: bold;
}

.announcement.announcement-read .announcement-subject {
    font-weight: normal;
    transition: all 0.5s ease;
}

.read-indicator {
    color: green;
    font-style: italic;
}

.close {
    outline:none;
}

.pagination {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
    float: right;
}

.navbar-brand {
    padding-top: 1px;
    padding-bottom: 1px;
    height: 52px;
}

.navbar-logo {
    padding-right: 1em;
}

.navbar-home {
    padding-left: 30px; 
    padding-top: 16px; 
    font-size: 10pt;
}

.footer {
    height: 50px;
    margin-top: -50px;
    padding-left: 2em;
    padding-right: 2em;
}

.footer > hr  {
    border-top: 1px solid #337AB7;
}

.login-user-icon {
    padding-right: 5px;
}

/* To allow multiple elements in a row. Copied from bootstrap.css and replaced <a> with <div> */
.dropdown-menu > li > div {
    padding: 3px 20px;
    clear: both;
    line-height: 1.42857143;
    min-width: 30em;
}
.dropdown-menu > li > div:hover,
.dropdown-menu > li > div:focus {
    background-color: #f5f5f5;
}
.dropdown-menu > li > div > a{
    display: inline-block;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    min-width: 60%;

    cursor: pointer;
}
.dropdown-menu > li > div > a.action{
    position: relative;
    top: -3px;
    min-width: 10%;
    width: 1em
    /*margin-right: 0.5em;
    padding-right: 1em;*/
}
.dropdown-menu > li > div > button.delete{
    position: relative;
    top: -3px;
    width: 1em;
    /*margin-right: 0.2em;
    padding-right: 1em;*/
    /*color: red;
  opacity: .5;*/
}

/* required for font awesome pseudo elements */
.icon::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.btn-xs,
.btn-group-xs > .btn,
.btn-group-xs .dropdown-menu a{
    font-size: x-small;
}

.data-grid-wrapper {
    padding-top: 0.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: row;
    padding-top: 5px
}

.page-wrapper.visible-xs > .dataTables_paginate > .pagination > li:not(.previous):not(.next) > a{
    max-width: 25px;
    padding-left: 8px;
    padding-right: 10px;
}

.form-field-round {
    min-height: 26px;
    border-radius:3px;
    border: 1px solid #cccccc;
    display:inline-block;
    overflow:hidden;
    max-width: 250px;
}

@media (max-width:1023px) {
    .form-field-round {
        max-width: 215px;
    }
}

.form-field-padding{
    padding-left: 5px;
}

.form-group {
    margin-bottom: 5px;
}