﻿html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: #f5f5f5;
}

.container .text-muted {
  margin: 20px 0;
}

.table-hover {
}

.table-hover-tbody>tbody:hover {
    background-color:#f5f5f5
}

.table-striped-tbody>tbody:nth-of-type(odd) {
    background-color:#f9f9f9
}

.input-group.multiple .form-control {
    width: 50%;
}

.input-group.multiple .form-control:not(:last-child) {
    border-right: 0;
}

.ng-invalid {
    border-color: red;
}

.input-validation-error {
    border-color: red;
}

/* CONTROLS */

textarea {
    min-height: 108px;
}

textarea.nowrap {
    white-space: nowrap;
    overflow: auto;
}

.actions {
    padding-bottom: 10px;
}

.grid {
    border: 1px solid rgb(212,212,212);
    height: 140px;
}

.form-control[disabled], fieldset[disabled] .form-control {
    color: #ddd;
}

/* Tables */

tr.disabled{
        text-decoration: line-through;
        font-style: italic;
        font-weight: normal;
        color: grey;
    }

/* SUB MENU */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* .pagination fix */

.pagination {
    margin: 0;
}

/* LOGIN page */

.form-signin {
        max-width: 330px;
        padding: 15px;
        margin: 0 auto;
    }
    .form-signin .form-control {
        position: relative;
        height: auto;
        padding: 10px;
        font-size: 16px;
    }
    
/* Comments  */

.comments {
    padding: 10px;
    max-width: 700px;
    margin: auto;
}
.comments .comment-edit {
    padding-bottom: 20px;
}

.comments .comment-edit .files {
    vertical-align: top;
    display: inline-block; 
    max-width: 384px;
    font-weight: bold;
}

.comments .comment {
    padding: 10px 0px;
    border-top: dotted 1px black;
}
.comment .title .name {
    font-weight: bold;
    display: inline-block;
}
.comment .title .date {
    font-size: 80%;
    display: inline-block;
}
.comment .message .content{
    white-space: pre-line;
}

.comment .message .files a{
    font-size: 80%;
}

/* Customers */

.license-link {
    display: block;
}

.license-link.trial:before {
    content: "Trial: ";
}

.license-link.enterprise:before {
    content: "Enterprise: ";
}

.license-link.expired{
    font-style: italic;
    font-weight: normal;
    color: grey;
}

.license-link.inFuture{
    font-weight: bold;
}

.license-link.inFuture:after {
    content: " (Future)";
}

.license-link.disabled{
    text-decoration: line-through;
}


/* Licenses */

.lic-container
{
    position:relative;
    display:block;
    font-size: 12px;
    max-width: 880px;
    margin: auto;
}

.lic-box {
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    background-color: white;
    border: solid 2px black;
    width: 400px;
    min-height: 100px;
    margin: 10px 20px;
    padding: 10px;
    border-radius: 25px / 25px;
}

    .lic-box.inFuture {
        background-color: #d9edf7;
    }

    .lic-box.complimentary {
        background-color: #e1fbd3;
    }

    .lic-box.trial {
        background-color: #faeded;
    }

    .lic-box.temporary {
        background-color: #f9deff;
    }

    .lic-box.enterprise {
        background-color: #a0ff78;
    }

    .lic-box.almost-expired {
        background-color: #fbff8b;
    }
    
    .lic-box.expired, .lic-box.disabled {
        background-color: lightgrey;
    }

    .lic-box.disabled {
        color: grey;
        text-decoration: line-through;
    }

    .lic-box .title {
        text-align: center;
        font-weight: bold;
        font-size: 19px;
    }

    .lic-box .licenseid {
        position: absolute;
        top: 15px;
        right: 15px;
    }

    .lic-box .description {
        text-align: center;
        white-space: pre-line;
    }

/* Activity */

.activities .summary {
    font-weight: bold;
    cursor: pointer;
}

.activities .info {
    padding: 15px;
    word-wrap: break-word;
}

.activities .info table {
    margin: 0;
    border-collapse: collapse;
    border-style: hidden;
    width: 100%;
}

.activities .info table td, .activities .info table th {
     border: 1px solid black;
     padding-left: 5px;
     min-width: 130px;
     word-break:break-all;
}
