﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.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;
}

.top-buffer {
    margin-top: 10px;
}

.bottom-buffer {
    margin-bottom: 10px;
}

.bottom-buffer-double {
    margin-bottom: 20px;
}

.bottom-buffer-half {
    margin-bottom: 5px;
}

.left-buffer {
    margin-left: 10px;
}

.right-buffer {
    margin-right: 10px;
}

.right-buffer-half {
    margin-right: 5px;
}

/* force all a tags to have pointer */
a:hover {
    cursor: pointer;
}

.animate-swap.ng-enter,
.animate-swap.ng-hide-add {
    -webkit-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -moz-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -ms-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -o-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
}

.animate-swap.ng-enter,
.animate-swap.ng-leave.ng-leave-active {
    opacity: 0;
}

    .animate-swap.ng-leave,
    .animate-swap.ng-enter.ng-enter-active {
        opacity: 1;
    }

.animate-swap.ng-leave {
    display: none;
}

.animate-if.ng-enter, .animate-if.ng-leave {
    -webkit-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -moz-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -ms-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    -o-transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
    transition: 300ms cubic-bezier(0.250, 0.250, 0.750, 0.750) all;
}

    .animate-if.ng-enter,
    .animate-if.ng-leave.ng-leave-active {
        opacity: 0;
    }

        .animate-if.ng-leave,
        .animate-if.ng-enter.ng-enter-active {
            opacity: 1;
        }

/**
 * Resize different images without distortion demo
 */
.img-container {
    width: auto;
    height: auto;
    display: inline-block;
    overflow: hidden;
}

    .img-container img {
        width: 100%;
    }

.img-container-thumbnail {
    width: 81px;
    height: auto;
    display: inline-block;
    overflow: hidden;
    margin: 3px;
    padding: 3px;
    border: 1px solid grey;
}

    .img-container-thumbnail:hover,
    #bx-pager a.active {
        border: 1px solid;
    }

    .img-container-thumbnail img {
        width: 100%;
    }

.img-loading {
    height: 100%;
    min-height: 500px;
    width: 100%;
    z-index: 999;
    background-color: white;
    position: absolute;
}

.error-text {
    color: #FF5E07;
    margin: 5px;
}

.tab-pane {
    padding: 15px 0px 0px 0px;
}

/* this is to work around textarea sizing in bootstrap */
.editable-wrap {
    width: 100%;
}

.input-wide {
    max-width: none;
}

/*.editable-input {
    max-width: initial; /*todo: determine how to set max-width
}*/
/* END this is to work around textarea sizing in bootstrap */

/*.highlight { 
    background-color: yellow 
}*/

.no-value {
    font-style: italic;
    color: lightgray;
}

.secondary-value {
    color: gray;
}

.form-value {
    display: block;
}

.panel-sub-heading {
    background-color: lightgrey;
    padding: 5px;
}

    .panel-sub-heading span {
        font-size: large;
    }

.list-condensed {
    margin: 0px;
    padding: 0px 0px 0px 15px;
}

.list-no-list-style {
    list-style-type: none;
}

.card-list {
    list-style-type: none;
    padding: 0px;
}

    .card-list li {
        border-bottom: solid 1px lightgrey;
        margin-bottom: 10px;
        padding: 5px;
    }

        .card-list li:last-child {
            border-bottom: none;
        }

        .card-list li b {
            display: block;
        }

        .card-list li span {
            margin-top: 1px;
        }

    .card-list .row {
        margin-bottom: 0 !important;
    }

.clickable-row:hover {
    background-color: #F4F4F4;
    color: #000000;
    font-weight: 300;
}

.clickable-row {
    -moz-transition: background-color .5s ease;
    -o-transition: background-color .5s ease;
    -webkit-transition: background-color .5s ease;
    transition: background-color .5s ease;
    cursor: pointer;
    padding-bottom: 5px;
    padding-top: 5px;
}

    .clickable-row a {
        font-weight: 300;
        padding-top: 5px;
    }

        .clickable-row a:hover {
            font-weight: 300;
        }

    .clickable-row .not-clickable {
        cursor: default;
    }

a.image-fill {
    overflow: hidden;
    height: 200px;
    display: block;
    background-size: cover;
    background-position: center;
}

a[id^="lnkShowAttachmentDetails"]:hover,
div[id^="lnkShowAttachmentDetails"]:hover {
    text-decoration: underline;
}

#lnkFullScreen {
    background: url(../img/full-screen.png);
    height: 48px;
    position: absolute;
    right: 15px;
    text-decoration: none;
    top: 0px;
    width: 48px;
    z-index: 1000;
}

.horizontal-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.vertically-align-middle {
    vertical-align: middle;
}

/** {
  border-radius: 0 !important;
}*/