html,
body {
    height: 100%;
}

body > .wrap {
    min-height: 100%;    
}

body:not(.mini) > .wrap {
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.flash-success {
    color: green;
}
.flash-error {
    color: red;
}
.flashes {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 4px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.blr-navbar { border-bottom: 1px solid #ddd; height: 62px; background: white; }
.blr-navbar .navbar-brand { padding: 5px 15px; line-height: 62px; font-size: 22px; color: black; font-weight: bold;  }
.blr-navbar .navbar-brand img { float: left; padding-right: 15px; }

.navbar-brand > img { max-height: 55px; }

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.list-group {
  margin-bottom: 20px;
  padding-left: 0;
}


.list-group .item {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: white;
  border: 1px solid #ddd;
}

.list-group .item a {
  display: block;
  margin: -10px -15px;	
  padding: 10px 15px;
}

.list-group .item:first-child {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.list-group .item:last-child {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

.list-group .item.active {
   background: #eee;	
   color: black;
}

.list-group .item:hover {
   background: #44b5f6;	
}

.purchases-categories { padding: 0; }
.purchases-categories > li { list-style: none; margin: 2px 0px; }
.purchases-categories .category-selector { background: #DEDEDE; padding: 8px 10px; font-size: 1.2em; }
.purchases-categories .category-selector a { text-transform: uppercase; color: black; }

@media (min-width: 992px) {

body.mini { background: #999; }

body.mini > .wrap {
    background: white;
    border: 1px solid black;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 42%;
    max-width: 800px;
    min-width: 580px;
    transform: translate(-50%,-50%);
    border-radius: 4px;
    min-height: auto;
    max-height: 80%;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 5px 5px 5px #444;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */    
}

body.mini .blr-navbar { position: absolute; }

.blr-navbar { background: transparent; }

}

body.mini > .wrap > .container-fluid {
    padding: 70px 30px 10px;    
    min-height: 30%;
}

body.mini footer {
    border-top: 1px solid #777;
    background-color: #ccc;
    padding: 10px;
    height: 40px;
}

body.mini footer .container { width: 100%; }

footer a { color: black; font-weight: bold; }

.signin-button-linkedin { text-indent: -9999px; width: 164px; height: 30px; display: block; background: url(../images/social_login.jpg) 0px -94px; }

.signin-button-facebook { text-indent: -9999px; width: 164px; height: 30px; display: block; background: url(../images/social_login.jpg) 0px -48px; }

@media (min-width: 976px) {
.pull-right-md {
  float: right;
}
}
@media (min-width: 1200px) {
.pull-right-lg {
  float: right;
}
}

.account-security .login-credentials, .account-security .connected-accounts {
    padding: 0;
    margin: 0;    
}

.account-security .login-credentials li {
    list-style: none;
    min-height: 40px;
    margin-bottom: 2em;
    padding-left: 48px;
    background: url(../images/user-avatar.png) no-repeat left top;
}

.account-security .login-credentials .login-username, .account-security .connected-accounts .account-name {
    font-size: 120%;
    font-weight: bold;
    padding-bottom: 3px;
}

.account-security .connected-accounts li {
    list-style: none;
    min-height: 40px;
    margin-bottom: 2em;
    padding-left: 48px;
    position: relative;
}

.account-security .connected-accounts .icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 0px;
    background: url(../images/social-icons.png) no-repeat left top;    
}

.account-security .connected-accounts .icon.linkedin { background-position: -40px 0px; }
