/*#region Layout */

html {
    position: relative;
    min-height: 100%;
}

body {
    font-size: 13px;
    /* Margin bottom by footer height */
    margin-bottom: 30px;
}

.body-fixed-top {
    padding-top: 50px;
}

.header {
    color: white;
    background: #004c93 url(../../Content/Images/header_blobs.png) no-repeat center top;
    border-radius: 0 0 5px 5px;
}

/*#region Info and Top navigation */

.navbar-info {
    background-color: transparent;
    border-width: 0;
    border-radius: 0;
    margin-bottom: 0;
}

    .navbar-info .logout-brand {
        margin-right: 15px;
    }

    .navbar-info .navbar-btn {
        margin-left: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

.navbar-top {
    border-radius: 0 0 5px 5px;
    border-top-width: 0;
    border-bottom-width: 0;
    background-color: #05182B;
    margin-bottom: 15px;
}

    .navbar-top.navbar-fixed-top {
        left: 15px;
        right: 15px;
        border-width: 1px;
    }

        .navbar-top.navbar-fixed-top .navbar-collapse {
            margin-right: 15px;
        }

    .navbar-top .navbar-nav .open > a {
        background-color: #338CBB !important;
    }

    .navbar-top .logo {
        margin-left: 15px;
        margin-top: -24px;
        vertical-align: top;
    }

    .navbar-info .navbar-brand,
    .navbar-top .navbar-brand {
        color: white;
        outline: none;
    }

    .navbar-top .navbar-text {
        color: white;
    }

    .navbar-top .navbar-nav > li > a:hover,
    .navbar-top .navbar-nav > li > a:focus {
        outline: none;
        color: white;
    }

    .navbar-info .navbar-nav > li > a,
    .navbar-top .navbar-nav > li > a {
        color: #CECECE;
        text-transform: uppercase;
    }

    .navbar-top .navbar-nav > .active > a,
    .navbar-top .navbar-nav > .active > a:hover,
    .navbar-top .navbar-nav > .active > a:focus {
        color: #FFFFFF;
        background-color: #338CBB;
    }

.navbar-nav .dropdown-menu a {
    text-align: right;
    font-size: 14px;
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 15px;
}

.navbar-nav .dropdown-menu {
    background-color: #338CBB;
    border: 0;
}

/*#endregion*/

.content {
    margin-left: 30px;
    margin-right: 30px;
}

/*#region Footer */

.footer {
    background-color: #EDEDED;
    color: #666666;
    padding: 6px 10px;
    border-radius: 5px 5px 0 0;
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 30px;
}

/*#endregion*/

/*#endregion*/

/*#region dissolve animation */

.dissolve-animation.ng-hide-add {
    -webkit-transition: all .35s linear 0;
    -moz-transition: all .35s linear 0;
    -o-transition: all .35s linear 0;
    transition: all .35s linear 0;
    display: inline !important;
}

/*.dissolve-animation.ng-hide-remove {
    -webkit-transition: all .1s linear 0;
    -moz-transition: all .1s linear 0;
    -o-transition: all .1s linear 0;
    transition: all .1s linear 0;
    display: inline!important;
}*/

.dissolve-animation.ng-hide-add,
.dissolve-animation.ng-hide-remove.ng-hide-remove-active {
    opacity: 1;
}

    .dissolve-animation.ng-hide-add.ng-hide-add-active,
    .dissolve-animation.ng-hide-remove {
        opacity: 0;
    }

/*#endregion*/

/*#region Login*/

.login {
    font-size: 14px;
}

    .login .panel-heading {
        text-align: center;
    }

.btn-49 {
    width: 49%;
}

@media (min-width: 767px) {
    .login {
        width: 350px;
        margin: 100px auto;
    }

    .text-right-sm {
        text-align: right;
    }
}


/*#endregion*/

.panel-group div[data-ng-include] + .panel {
    margin-top: 5px;
}

.icon-accordian-toggle {
    display: inline-block;
    text-align: right;
    width: 25px;
}

.input-header, .input-header-small {
    color: black;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

.input-header {
    width: 140px;
}

.input-header-small {
    width: 90px;
}

.btn-row {
    text-align: right;
}

.btn-65 {
    min-width: 65px;
}

.col-70 {
    width: 70%;
}

.col-50 {
    width: 50%;
}

.col-25 {
    width: 25%;
}

.col-15 {
    width: 15%;
}

.ngGrid {
    border: 1px solid rgb(212,212,212);
}

fieldset .ngGrid {
    border-width: 0;
}

.fixed-height-grid {
    height: 250px;
}

.fixed-height-grid-short {
    height: 170px;
}

.fixed-height-grid-tiny {
    height: 120px;
}

.fixed-height-grid-atomic {
    height: 64px;
}

.family-grid {
    height: 520px;
}

.required {
    color: #C1272D;
}

    .required:before {
        content: "* ";
    }


.grid-header-filter {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 30px;
}

    .grid-header-filter .col-50 {
        width: 49%;
        float: left;
    }

        .grid-header-filter .col-50 + .col-50 {
            margin-left: 2%;
        }

    .grid-header-filter .col-33 {
        width: 32%;
        float: left;
    }

        .grid-header-filter .col-33 + .col-33 {
            margin-left: 2%;
        }

    .grid-header-filter select[multiple] {
        height: 25px;
    }

    /* hide options element for select2 control to prevent FOUC. This does not work in all browsers, need to find a better way*/
    .grid-header-filter .typeahead option {
        display: none;
    }

    .grid-header-filter input[type="checkbox"] {
        margin: 4px auto;
    }

    .grid-header-filter .select2-container {
        padding: 0;
    }

    .grid-header-filter .select2-container-multi .select2-choices {
        border-width: 0;
        border-bottom: 1px solid #ccc;
        height: 25px !important;
        min-height: 25px;
        border-radius: 3px;
        white-space: nowrap;
    }

        .grid-header-filter .select2-container-multi .select2-choices .select2-search-choice {
            margin: 1px 0 1px 5px;
        }

        .grid-header-filter .select2-container-multi .select2-choices li {
            float: none;
            display: inline-block;
        }

        .grid-header-filter .select2-container-multi .select2-choices .select2-search-field {
            vertical-align: top;
        }

            .grid-header-filter .select2-container-multi .select2-choices .select2-search-field input {
                padding: 3px 5px;
            }

.select2-search-choice-close {
    background-image: none;
    font-size: 1em;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

    .select2-search-choice-close:hover {
        text-decoration: none;
    }

    .select2-search-choice-close:before {
        content: "\f00d";
    }


.input-ty, .btn-ty {
    height: 25px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 3px;
}

.input-ty {
    padding: 3px 5px;
}

.btn-ty {
    padding: 3px 6px;
}

.btn-checkbox-col {
    padding: 1px 4px;
    margin-left: -2px;
}

.row-demo {
    margin-left: -10px;
}

    .row-demo .col-sm-7 {
        border: 1px #ddd solid;
        padding-top: 10px;
    }

.top-10 {
    margin-top: 10px;
}

@media (min-width: 1200px) {
    .modal-xl .modal-lg {
        width: 1180px;
    }
}

/*#region ngGrid */

.ngRow:hover {
    background-color: #c9dde1;
}

/*.ngRow > div:last-of-type .ngVerticalBarVisible {
    width: 0;
}*/

.footer-pager {
    margin-top: 8px;
}

    .footer-pager .input-group > .page-number {
        max-width: 60px;
    }

/*#endregion*/

.syscode-bar {
    width: 275px;
}

.detail-tab .well-sm {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 6px;
}

.width-33 {
    width: 33.33333%;
}

.table-main-dates {
    width: 40%;
}

    .table-main-dates td,
    .table-main-dates th {
        text-align: center;
    }

@media (max-width: 992px) {
    .table-main-dates {
        width: 100%;
    }
}

@media (min-width: 992px) {

    .form-condensed .form-group {
        margin-bottom: 10px;
    }

        .form-condensed .form-group:last-of-type {
            margin-bottom: 0;
        }

    .form-condensed .row + .row {
        margin-top: 10px;
    }
}


.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        opacity: 0;
        cursor: inherit;
        display: block;
    }

.input-file[readonly] {
    background-color: white !important;
    cursor: text !important;
}

.list-bar {
    margin-bottom: 5px;
}

    .list-bar .list-title a:hover {
        text-decoration: none;
    }

    .list-bar .list-title {
        font-size: 22px;
    }

.dropdown-menu {
    z-index: 2000;
}

.date-picker-top-right .dropdown-menu {
    top: auto !important;
    bottom: 30px;
}

.table-deletable-container {
    border: 1px solid #ddd;
    height: 140px;
    max-height: 140px;
    overflow: auto;
}

    .table-deletable-container tr:first-of-type td {
        border-top-width: 0;
    }

.modal-message {
    font-size: 15px;
}

div[ng-cell-has-focus] input,
div[ng-cell-has-focus] select {
    height: 30px;
    padding: 5px;
    border: 1px solid #ccc;
    border-right-width: 2px;
}

/* disable the clear button that IE10/11 inserts into textboxes */
::-ms-clear {
    display: none;
}

/* hides the spin-button for firefox */
input[type=number] {
    -moz-appearance: textfield;
}
    /* hides the spin-button for chrome*/
    input[type=number]::-webkit-outer-spin-button,
    input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }

.inline-add-form {
    margin-top: 5px;
    margin-bottom: 5px;
}

.digital-list .table-deletable-container {
    max-height: 250px;
    height: 250px;
}

#fileTarget {
    width: 0;
    height: 0;
    border: 0;
    display: none;
}

/* setting a minimum height shows all the columns when the grid has no rows*/
.ngCanvas {
    min-height: 1px !important;
}

.no-history {
    text-align: center;
    font-size: 26px;
    color: #CCCCCC;
}

.saveRequestOld {
    color: #888888;
}

.saveRequestAttr {
    color: #666;
}

.saveRequestWarning {
    color: #F0AD4E;
}

.saveRequest {
    font-size: 14px;
}

    .saveRequest .modal-body .saveRequestDate {
        margin-top: 20px;
    }

.saveRequestChange {
    margin-left: 20px;
}

.saveRequest .changeTitle {
    font-size: 1.1em;
    font-weight: bold;
    color: #666;
    margin-left: 10px;
}

.upload-file-progress {
    display: inline-block;
    height: 5px;
    margin-top: 8px;
    width: 450px;
}

    .upload-file-progress span {
        white-space: nowrap;
    }

.upload-file-information {
    display: inline-block;
    width: 85px;
}

    .upload-file-information a {
        font-size: 14px;
    }

.progressSection .progress {
    height: 5px;
    margin-bottom: 13px;
}


.import-summary .import-sections .panel-heading {
    text-transform: initial;
    background-color: #EDEDED;
}

    .import-summary .import-sections .panel-heading .panel-title {
        color: black;
    }

.import-sections {
    margin-top: 10px;
}

.import-section-grouping {
    margin-bottom: 10px;
}

.import-full-update-checkbox label {
    font-weight: normal;
}

.import-full-update-checkbox {
    padding: 0 15px;
}

.checkbox-align {
    vertical-align: sub;
}

.comment-text-area {
    resize: none;
    margin-bottom: 5px;
}

.comment-label {
    text-align: right;
}

.text-gray {
    color: gray;
}

.text-yellow {
    color: #F0AD4E;
    font-weight: bold;
}

.text-orange {
    color: orange;
    font-weight: bold;
}

.text-red {
    color: red;
    font-weight: bold;
}

.name-tag {
    display: inline-block;
    padding: 3px 5px;
    color: white;
    border-radius: 2px;
    font-weight: bold;
}

.logout-brand div {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 15px;
}

.add-child-btn {
    margin-bottom: 5px;
}

.footer-save {
    margin-top: 10px;
}

.export a {
    cursor: pointer;
}

.export {
    font-size: .8em;
}

.pull-right-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.pull-right-dropdown .dropdown-menu li a {
    text-align: right;
}

.form-control-active {
    background-color: lightgreen;
}

@media (min-width: 768px) {
    .available-syscode-tab .text-tag {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .available-syscode-tab .text-tag {
        width: 33%;
    }
}

#toast-container > div {
    opacity: 1;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: alpha(opacity=100);
}

.inactive-record-row {
    background-color: orangered;
    color: white;
}

.inactive-record-name {
    color: orangered;
}