﻿html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #e4e4e4; /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #d7d2cc, #e4e4e4); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #d7d2cc, #e4e4e4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}


#wrapper {
    min-height: 100%;
    position: relative;
}

#content {
    padding-bottom: 40px; /* Height of the footer element */
}

#footer {
    /*border-top:1px solid #E7EAEC;*/
    width: 100%;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
}



.padding-40 {
    padding-right: 40px;
}


/* 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;
}

.chat-author {
    font-weight: bold;
    color: maroon;
    background-color: lightgray;
}

    .chat-author.chat-self {
        color: green;
    }

.chat-date {
    font-weight: normal;
    font-size: small;
}

.chat-body {
    color: black;
}

.main {
    height: 100%;
}

td.chat-body {
    max-height: 20px;
}


.dropdown button {
    width: 230px;
}


.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}


@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

/* Vibes Custom Classes */

div.chatMain {
    margin: 0 10px 50px 10px;
}

.chatArea {
    position: fixed;
    top: 85px;
    bottom: 80px;
    left: 240px;
    right: 15px;
    width: auto;
    overflow-y: auto;
}

    .chatArea .table {
        height: 100%;
        margin-bottom: 0;
    }

    .chatArea .chat-body {
        background-color: #f0f0f0;
    }

.inputArea {
    position: fixed;
    /*bottom: 40px;*/
    left: 240px;
    right: 100px;
    z-index: 100;
}


#txtMessage {
    padding: 5px;
    resize: none;
    overflow-x: hidden;
}


.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

    .btn-default:active:hover,
    .btn-default.active:hover,
    .open > .dropdown-toggle.btn-default:hover,
    .btn-default:active:focus,
    .btn-default.active:focus,
    .open > .dropdown-toggle.btn-default:focus,
    .btn-default:active.focus,
    .btn-default.active.focus,
    .open > .dropdown-toggle.btn-default.focus {
        color: #333;
        background-color: #ffffff;
        border-color: #adadad;
    }

.feed-element {
    padding-bottom: 5px;
}

.form-control, .single-line {
    margin-bottom: 6px;
}

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

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

.bg-white {
    background-color: #fff;
}

.p-t-n {
    padding-top: 0px;
}


/* Hacks to Inspinia classes */

.social-comment:first-child {
    margin-top: 5px;
}

.feed-activity-list .feed-element {
    border-bottom: none;
}

.vertical-timeline-content .btn {
    float: left;
}

.condensed .btn-sm, .btn-group-sm > .btn {
    padding: 0px 10px;
    font-size: 12px;
    line-height: 1.5;
}

.feed-element .well {
    margin-bottom: 0px;
}

.table > thead > tr > th, .table > tbody > tr > th {
    border-top: none;
}

.md-skin .navbar-fixed-top,
.md-skin .navbar-static-top {
    max-height: 60px;
}

#indent.table > thead > tr > th, #indent.table > tbody > tr > th, #indent.table > tfoot > tr > th, #indent.table > thead > tr > td, #indent.table > tbody > tr > td, #indent.table > tfoot > tr > td {
    border-top: none;
    background-color: #f8f8f9;
    margin-top: -8px !important;
    padding-left: 0;
    padding-right: 0;
}


/* End Hacks */

.pill-area {
    padding: 5px;
    background: #f9f9f9;
}

.remark {
    margin-left: 50px;
    margin-top: -15px;
    padding-left: 20px;
    border-top: none;
    margin-bottom: 0px;
    border-left: 3px solid #0065B8;
}

.discussion-remark {
    margin-left: 00px;
    margin-top: -15px;
    padding-left: 10px;
    border: 1px solid #E5E6E7;
    margin-bottom: 10px;
    background-color: #fff;
}

.condensed-remark {
    margin-left: 10px;
    padding-left: 20px;
    border-top: none;
    margin-bottom: 0px;
    border-left: 3px solid #0065B8;
}

.reference .feed-element:first-child {
    padding-top: 15px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.icon-bar-border {
    border-bottom: 1px solid #f5f5f5;
}

.condensed {
    float: left;
    margin-right: 20px;
    margin-top: 10px;
}

.next-condensed {
    clear: both;
    padding-top: 10px;
}

.tiles {
    display: table;
    width: 100%;
}

    .tiles > [class*="col-"] {
        float: none;
        display: inline-flex;
        vertical-align: top;
        min-width: 32%;
    }

    .tiles .col-md-4 {
        width: 32%;
    }

    .tiles .ibox {
        width: 100%;
    }


.key {
    display: block;
    float: right;
    position: relative;
    margin-right: 10px;
    z-index: 100;
    padding: 5px;
}

.org {
    padding-top: 3px;
    padding-bottom: 3px;
}

    .org th {
        font-size: 95%;
        text-align: center;
    }

.show-text {
    margin-left: 3px;
    margin-right: 3px;
    font-size: 110%;
}

.text-bold {
    font-weight: bold;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}


select.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul, .validation-summary-errors li {
    list-style: none;
}

.page-login {
    min-height: 100vh;
    padding-bottom: 40px;
}

.sign-in-body, .external-url-container {
    width: 351px;
    margin: 0 auto;
}

.sign-in-header {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    vertical-align: bottom;
    padding-bottom: 40px;
}

.external-url-container {
    text-align: center;
    margin-top: 40px;
}

.sign-in-header img {
    max-width: 470px;
}

.sign-in-footer {
    padding: 5px 0;
    overflow: hidden;
}

    .sign-in-footer .btn {
        padding: 0 !important;
        color: #0073B8;
    }

    .sign-in-footer .col-md-12 {
        padding-left: 0;
    }

    .sign-in-footer div {
        display: inline-block;
        vertical-align: top;
    }

    .sign-in-footer .footer-left {
        width: 60%;
        padding-left: 15px;
    }

    .sign-in-footer .footer-right {
        width: 30%;
        padding-left: 15px;
        white-space: nowrap;
    }

.sign-in-body {
    background: rgba(255,255,255,1);
    border-radius: 5px;
    padding: 20px 0;
}

    .sign-in-body .form-group {
        overflow-y: hidden;
    }

    .sign-in-body .login-remember label {
        font-weight: 500;
        margin-left: 15px;
    }

    .sign-in-body .login-remember.checkbox input[type=checkbox] {
        margin: 2px -20px 0;
        cursor: pointer;
    }

    .sign-in-body p {
        padding: 6px 12px;
    }

    .sign-in-body input.form-control {
        background-color: transparent;
        background-image: none;
        border: 0;
        border-bottom: 1px solid #666;
        border-radius: 0;
        color: inherit;
        display: block;
        padding: 6px 12px;
        transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
        width: 100%;
        font-size: 14px;
    }

    .sign-in-body .password-help-link, .sign-in-body .external-page-link {
        text-align: center;
        margin-top: 10px;
    }

    .sign-in-body #divUsername input.form-control:focus, .sign-in-body #divPassword input.form-control:focus {
        border-bottom: 1px solid #0073B8;
    }

.page-login div#footer {
    background: #fff;
    width: 100%;
    height: 40px;
    position: fixed;
    bottom: 0;
    left: 0;
    margin-top: 40px;
    padding: 10px 20px 0;
}

.sign-in-body-icon {
    display: block;
    border: 1px solid rgba(0,113,186,1);
    border-radius: 40px;
    padding: 20px;
    width: 78px;
    height: 78px;
    text-align: center;
    margin: auto;
    margin-bottom: 40px;
}

    .sign-in-body-icon img {
        width: 24px;
        filter: invert(30%) sepia(73%) saturate(6226%) hue-rotate(188deg) brightness(93%) contrast(104%);
    }

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    background-color: rgba(255,255,255,1) !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

@media (min-width:320px) and (max-width:470px) {
    .sign-in-header, .sign-in-body, .sign-in-footer, .loginscreen.middle-box, .sign-in-footer .footer-left, .sign-in-footer .footer-left div {
        width: 100%;
        border-radius: 0;
    }

        .sign-in-footer .footer-left, .sign-in-footer .footer-right {
            padding-left: 5px;
        }

        .sign-in-footer .footer-right {
            padding-top: 15px;
        }

    .page-login {
        margin: 0;
        padding: 0;
    }
}
