﻿/**********************************************/
/* CUSTOM STYLES                              */
/**********************************************/

body {
    font: 300 15px/24px "StagSans-Book-Web", Helvetica, Arial, sans-serif;
    background-color: rgb(245, 245, 245);
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    color: rgb(102, 102, 102);
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    padding: 0;
    margin: 0;
    overflow-y: scroll;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "StagSans-Light-Web", Helvetica, Arial, sans-serif;
    margin: 0;
}

h1 {
    color: rgb(43, 63, 55);
    font-size: 34px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 40px;
}

h2 {
    -webkit-font-smoothing: antialiased;
    color: rgb(43, 63, 55);
    display: block;
    font-family: "StagSans-Light-Web", Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: 40px;
    line-height: 40px;
    margin: 0;
    text-rendering: optimizelegibility;
}

.relative {
    position: relative;
}

.follow {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
}

.margin-right,
.margin-right:active,
.margin-right:focus {
    margin-right: 10px;
}

.small-margin-icons {
    margin: 2px 2px 2px 2px;
}

.whitespace-pre {
    white-space: pre-line;
}

.mini-text {
    font-size: 9px;
}

table.borderless td, table.borderless th {
    border: none !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.popover {
    max-width: 70%;
}

.popoverContent {
    min-width: 500px;
}

a {
    color: #345d67;
}

    a:hover, a:focus {
        text-decoration: none;
        color: #345d67;
    }

.yellow {
    color: #dee513;
}

.blue {
    color: #5A89FA;
}

.red {
    color: #8a3427;
}

.text-red {
    color: red;
}

.green {
    color: green;
}

.orange {
    color: orange;
}

.gray {
    color: rgb(102, 102, 102);
}

.text-bold {
    font-weight: bold;
}

.bmd-color {
    color: #345d67 !important;
}

.toggle-all {
    cursor: pointer;
}

.default-cursor {
    cursor: default !important;
}

.centered-2x {
    margin-right: 5px;
    font-size: 24px;
    height: 26px;
    vertical-align: middle;
}

.clear {
    clear: both;
}

.fixedwidth {
    width: 740px;
}

.noborder {
    border: none !important;
}

.noboxshadow {
    box-shadow: none !important;
}

.iconlink, .iconlink:focus, .buttonlink, .buttonlink:focus, .buttonlink-inverse, .buttonlink-inverse:focus, .buttonlink-secondary, .buttonlink-secondary:focus {
    font-size: 15px;
    cursor: pointer;
}

    .iconlink.big {
        font-size: 24px;
    }

button i.iconlink, a i.iconlink, div i.iconlink {
    margin-right: 10px;
}

.iconlink-small {
    font-size: 13px;
    cursor: pointer;
}

.ui-widget-content a.buttonlink {
    color: white !important;
}

.buttonlink, .buttonlink:focus {
    border: 1px solid rgb(52, 93, 103);
    background-color: rgb(52, 93, 103);
    align-items: flex-start;
    border-radius: 3px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    color: white;
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    max-width: 280px;
    margin: 0;
    text-decoration: none;
}

    .buttonlink:hover, .buttonlink:active {
        color: white;
        border: 1px solid #457c89;
        background-color: #457c89;
        text-decoration: none;
    }

    .buttonlink, .buttonlink:active, .buttonlink:hover, .buttonlink:focus {
        font-size: 13px;
    }

.buttonlink-inverse, .buttonlink-inverse:focus {
    border: 1px solid #222;
    background-color: transparent;
    align-items: flex-start;
    border-radius: 3px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    color: #222;
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    max-width: 280px;
    margin: 0;
    text-decoration: none;
}

    .buttonlink-inverse:hover, .buttonlink-inverse:active {
        color: #fff;
        background-color: #222;
        text-decoration: none;
    }

    .buttonlink-inverse, .buttonlink-inverse:active, .buttonlink-inverse:hover, .buttonlink-inverse:focus {
        font-size: 13px;
    }

.buttonlink-secondary, .buttonlink-secondary:focus {
    border: 1px solid rgb(34, 34, 34);
    background-color: white;
    align-items: flex-start;
    border-radius: 3px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    color: rgb(34, 34, 34);
    display: inline-block;
    padding: 6px 12px;
    text-align: center;
    max-width: 280px;
    margin: 0;
    text-decoration: none;
}

    .buttonlink-secondary:hover, .buttonlink-secondary:active {
        color: white;
        background-color: rgb(34, 34, 34);
        text-decoration: none;
    }

    .buttonlink-secondary, .buttonlink-secondary:active, .buttonlink-secondary:hover, .buttonlink-secondary:focus {
        font-size: 13px;
    }

.buttonlink-xs, .buttonlink-xs:focus {
    padding: 1px 5px;
    line-height: 1.5;
}

a.secondaryBtn {
    border-collapse: separate;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: rgb(43, 63, 55);
    cursor: pointer;
    display: inline-block;
    padding: 6px 0;
    font-family: StagSans-Book-Web, Helvetica, Arial, sans-serif;
    line-height: 24px;
    text-align: left;
    outline: none;
    font-size: 15px !important;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

    a.secondaryBtn::after {
        padding-left: 5px;
        content: "\F210";
        font-family: LushIcons;
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        -ms-text-size-adjust: none;
        text-size-adjust: none;
        font-size: 20px;
        display: inline-block;
        color: rgb(43, 63, 55);
    }

input:disabled, select:disabled, textarea:disabled {
    cursor: auto !important;
}

.mini-input {
    width: 19.5%;
    margin: 0;
    display: inline-block;
}

.medi-input {
    width: 59.5%;
    margin: 0;
    display: inline-block;
}

.mini-label {
    width: 19%;
    padding-left: 8px !important;
}

span.currency {
    float: right;
}

.nobreak {
    white-space: nowrap;
}

div.ajaxgrid .breakword {
    word-break: break-word;
}

.navigation {
    background-color: white;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

    .navigation .menu {
        position: absolute;
        bottom: 0;
        right: 0;
    }

.top-buffer {
    margin-top: 10px;
}

.bottom-buffer {
    margin-bottom: 10px;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

textarea {
    resize: none;
    box-shadow: none;
}

.section {
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 2px !important;
    background-color: white !important;
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    text-align: left;
    color: rgb(102, 102, 102);
    -webkit-font-smoothing: antialiased;
}

    .section a {
        font-size: 13px;
        text-decoration: none;
    }

    .section hr {
        margin-top: 5px;
        margin-bottom: 5px;
    }

.label {
    font-weight: normal;
    padding: 0.4em;
}

.sub a {
    -webkit-font-smoothing: antialiased;
    color: rgb(102, 102, 102);
    font-family: "StagSans-Book-Web", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    line-height: 20px;
    margin-right: 10px;
    padding-right: 10px;
    text-align: left;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
}

    .sub a:nth-last-child(1) {
        border: none;
    }

.padded {
    padding: 15px;
    width: 100%;
}

.padded-right {
    padding-right: 10px !important;
}

.padded-left {
    padding-left: 10px !important;
}

.padded-bottom {
    padding-bottom: 10px !important;
}

.padded-top-bottom {
    padding: 8px 0 !important;
}

.small-padded-bottom {
    padding-bottom: 2px;
}

.nopadding {
    padding: 0;
}

.margin-top {
    margin-top: 10px !important;
}

.block {
    display: inline-block;
    vertical-align: top;
    overflow: hidden;
}

.full {
    width: 100%;
}

.threequater {
    width: 76%;
}

.half {
    width: 50%;
}

.right {
    float: right;
    text-align: right;
}

.text-align-right {
    text-align: right;
}

.left {
    float: left;
}

.middle {
    margin-right: auto;
    margin-left: auto;
}

.center-text {
    text-align: center;
}

.right-text {
    text-align: right;
}

.left-text {
    text-align: left;
}

.navbar.navigation ul > li > a {
    color: #222;
    font-size: 18px;
    font-weight: 300;
}

#login {
    padding-left: 50px;
    margin-right: 0;
    text-align: right;
}

​header {
    padding-bottom: 20px;
}

header .navbar {
    z-index: 100;
}

.navbar-brand {
    height: auto;
}

.logo-overlay {
    position: absolute;
    z-index: 9999;
    top: 15px;
    bottom: 0;
    left: 130px;
    right: 0;
    -ms-transform: rotate(-25deg); /* IE 9 */
    -webkit-transform: rotate(-25deg); /* Chrome, Safari, Opera */
    transform: rotate(-25deg);
    font-family: StagSans-Book-Web, Helvetica, Arial, sans-serif;
    font-size: 34px;
    color: #e7f4f9;
    text-shadow: -1px -1px 2px black, 1px -1px 2px black, -1px 1px 2px black, 1px 1px 2px black;
}

.row-fluid .bottom {
    display: table-cell;
    vertical-align: bottom;
    float: none;
}

#navbar-collapse, #navbar-collapse .container-fluid {
    padding: 0;
}

.float-none {
    float: none !important;
}

header .navbar-brand img {
    width: 350px;
    -webkit-font-smoothing: antialiased;
}

.icon {
    margin-right: 20px;
    float: left;
    -ms-interpolation-mode: bicubic;
}

input.icon::-webkit-input-placeholder {
    font-family: 'FontAwesome';
}

input.icon::-moz-placeholder {
    font-family: 'FontAwesome';
}

input.icon::-ms-input-placeholder {
    font-family: 'FontAwesome';
}

.fixedicon {
    width: 16px;
    height: 16px;
    text-align: center;
}

img.icon {
    width: 90px;
    height: 90px;
}

.required:after {
    content: " *";
    color: red;
    white-space: nowrap;
}

.alignmiddle {
    vertical-align: middle;
}

.tab-pane {
    padding-top: 10px;
}

.hyphenate {
    -ms-word-break: break-all;
    word-break: break-all;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.dl-horizontal dt {
    text-align: left;
}

.breadcrumb-container {
    padding: 7px 0;
}

    .breadcrumb-container a {
        color: white;
    }

th {
    font-weight: normal;
}

td div.form-group {
    vertical-align: middle;
}

.applicationDetails .dl-horizontal dt {
    white-space: normal;
}

.assign-to-multiple {
    font: 300 13px/24px "StagSans-Book-Web", "FontAwesome", Helvetica, Arial, sans-serif;
}

.productDetails .dl-horizontal dt {
    white-space: normal;
    width: 250px;
}

/*.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget, .modal-body input, .modal-body select, .modal-body textarea {*/
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget {
    font: 300 15px/24px "StagSans-Book-Web", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    color: rgb(102, 102, 102);
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}


/*.ui-widget-content, .modal-content {*/
.ui-widget-content {
    color: rgb(102, 102, 102);
}

.detail .subheader {
    display: inline-block;
}

.detail dl {
    margin-top: 10px;
}

.ie-lineheight input {
    height: 18px;
    line-height: 18px;
}

.full-width {
    width: 100%;
}

.multiline {
    white-space: pre-wrap;
}

#CopySection {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

i.calc-opacity {
    opacity: 0.9;
}

label.no-bottom-margin {
    margin-bottom: 0;
}

.event-list-label-no-margin {
    margin-bottom: 0;
}

div.label-margin {
    margin-bottom: 6px;
}

/* Adjusting all vertical forms (create application) after removing content-box
   style on inputs in bootstrap override. Horizontal forms have separate styles */
div.ui-dialog-content.ui-widget-content div.form-horizontal div.col-md-8,
div.ui-dialog-content.ui-widget-content div.form-horizontal div.col-md-1 {
    padding: 0;
}

/* Aligning column width to match rest of form */
table th.fixed-hazardclass-width {
    width: 33%;
}

/* Margin for button in AddUsage.cshtml
    TODO: The :active etc. are hacks that overrides standard functionality on line 200, which sets margin to 0 overriding the margin set below */
.vertical-margin, .vertical-margin:active, .vertical-margin:hover, .vertical-margin:focus {
    margin-top: 10px;
    margin-bottom: 10px;
}

.no-vertical-margin {
    margin-top: 0;
    margin-bottom: 0;
}

.fixed-width-header > thead > tr > th:nth-child(1) {
    width: 2%;
}

.fixed-width-header > thead > tr > th:nth-child(2) {
    width: 45%;
}

.fixed-width-header > thead > tr > th:nth-child(3) {
    width: 45%;
}

.fixed-width-header > thead > tr > th:nth-child(4) {
    width: 8%;
}

.static-label {
    font-weight: normal;
    margin-bottom: 0px;
    margin-top: 3px;
}

/**********************************************/
/* CHOSEN LIKE BOOTSTRAP                      */
/**********************************************/

.chosen-container {
    width: 100% !important;
}

    .chosen-container * {
        border-radius: 2px;
    }

.chosen-container-multi .chosen-choices {
    border: 1px solid #ccc;
    background-image: none;
}

.chosen-container-single .chosen-single, .chosen-container-single.chosen-with-drop .chosen-single {
    border: 1px solid #ccc;
    background-image: none;
    box-shadow: none;
    border-radius: 2px;
    height: 28px;
    line-height: 28px;
    padding: 0 14px;
}

.chosen-container-single .chosen-drop, .chosen-container-single.chosen-with-drop .chosen-drop {
    border: 1px solid #ccc;
    background-image: none;
    box-shadow: none;
    border-radius: 2px;
}

.chosen-container-single .chosen-default {
    color: rgb(102, 102, 102);
}

select.search-accordian-dropdown + .chosen-container-multi .chosen-choices {
    width: 100% !important;
    border: 1px solid #ccc;
}

.chosen-container-active .chosen-choices {
    border-color: #345d67 !important;
    -moz-box-shadow: none;
    box-shadow: none;
}

.chosen-container ul.chosen-results li.highlighted {
    color: rgb(102, 102, 102);
    background-color: rgb(204, 204, 204) !important;
    background-image: none;
}

.chosen-container .chosen-results {
    max-height: 150px !important;
}

.ui-dialog .ui-dialog-content {
    overflow: visible !important;
}

.ui-dialog {
    overflow: visible !important;
}

input.small-input {
    padding: 3px 5px;
}

div.col-less-padding {
    padding: 3px 5px;
}

div.col-no-left-padding {
    padding-left: 0;
}

/**********************************************/
/* AJAXGRID OVERWRITE                         */
/**********************************************/

.ajaxgrid > .table-wrapper > table > thead > tr.column-filters > th input {
    padding-left: 2px;
    padding-right: 2px;
    width: 98%;
}

.ajaxgrid > .table-wrapper > table > tbody > tr > td {
    vertical-align: top;
}

.ajaxgrid label {
    font-weight: normal;
}

.ajaxgrid > .table-wrapper > table {
    table-layout: auto !important;
}

.ajaxgrid .footer > .page-container,
.grid .footer > .page-container {
    padding-top: 1px;
}

    .ajaxgrid .footer > .page-container > .page-text,
    .grid .footer > .page-container > .page-text,
    .ajaxgrid .footer > .page-size-container > .label,
    .grid .footer > .page-size-container > .label,
    .ajaxgrid .footer > .status,
    .grid .footer > .status,
    .ajaxgrid .footer > .reset,
    .grid .footer > .reset,
    .ajaxgrid .footer > .reset > span.link,
    .grid .footer > .reset > span.link {
        color: rgb(102, 102, 102);
        font-family: StagSans-Book-Web, Helvetica, Arial, sans-serif !important;
        font-size: 12px !important;
    }

.display-date-container {
    padding-top: 5px;
    padding-left: 10px;
}

/**********************************************/
/* CUSTOM ACTIONS SECTION STYLES              */
/**********************************************/
div.actions {
    padding-top: 10px;
    width: 50%;
    height: 38px;
}

    div.actions i {
        padding-right: 10px;
    }

/**********************************************/
/* CUSTOM FILTERS SECTION STYLES              */
/**********************************************/

div.filters {
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}

    div .filters > .row.filter-headers {
        margin-top: 10px;
    }

    div.filters select {
        max-width: 100%;
        min-width: 100%;
    }



        div.filters select.form-control {
            display: inline-block;
            width: auto;
        }

select.fixed-width-select {
    max-width: 100%;
    min-width: 100%;
}

select.large-fixed-width-select {
    max-width: 100%;
    min-width: 100%;
}

div.filter-row {
    margin: 10px;
}

/**********************************************/
/* BOOTSTRAP TOOLTIP STYLING                  */
/**********************************************/

.tooltip-inner {
    background-color: rgb(248, 248, 248);
    color: rgb(102, 102, 102);
    border: 1px solid rgba(52, 93, 103, 0.352941);
    font: 300 15px/24px "StagSans-Book-Web", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    text-align: left;
    max-width: 450px;
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
}

/**********************************************/
/* CUSTOM FILE UPLOAD STYLES                  */
/**********************************************/

.file-upload div.progress-bar {
    box-shadow: none;
}

.file-upload div.progress-bar-success {
    background-image: none;
    background-color: #98babc;
}

.file-upload i.remove {
    color: white;
    cursor: pointer;
    margin-right: 5px;
}

.file-upload .btn-file {
    position: relative;
    overflow: hidden;
}

    .file-upload .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        cursor: inherit;
        display: block;
    }

/**********************************************/
/* NOTIFICATIONS STYLES                       */
/**********************************************/

#notifications ul {
    padding: 0;
    list-style-type: none;
}

    #notifications ul li.red {
        color: #8a3427;
    }

    #notifications ul li i.fa {
        padding-right: 5px;
    }

/**********************************************/
/* CUSTOM SEARCH PAGE STYLES                  */
/**********************************************/

#search .panel-heading {
    cursor: pointer;
}

.first-panel-column {
    width: 49%;
    float: left;
    margin-right: 2%;
}

.second-panel-column {
    width: 49%;
    float: left;
}

.search-accordian-editor-mini {
    width: 14%;
    display: inline-block;
}

.search-accordian-editor-large {
    width: 53%;
    display: inline-block;
}

.search-accordian-label-mini {
    width: 14%;
    margin-left: 3%;
}

.search-clear-btn {
    /*Same styling as standard bootstrap default button (with added border-radius)*/
    color: rgb(102, 102, 102);
    background-color: #fff;
    border-color: #ccc;
    border-radius: 3px;
}

.daterangepicker-btn, .daterangepicker-btn:hover {
    /*Positions the buttons in reverse order*/
    float: right;
    height: auto;
    padding-top: 5px;
    padding-right: 10px;
    font-size: 12px;
}

.daterangepicker .cancelBtn, .daterangepicker .cancelBtn:hover {
    color: rgb(102, 102, 102);
    margin-right: 3px;
    padding-bottom: 3px;
    text-decoration: none;
}

.clear-all-btn {
    margin: 10px;
}

.search-page-link-btn {
    color: rgb(102, 102, 102);
    margin: 0 10px 0 10px;
    display: inline;
    border: 0;
    background-color: white;
}

    .search-page-link-btn:hover, search-page-link-btn:active {
        color: rgb(102, 102, 102);
        background-color: white;
        border: 0;
    }

.dropdown-holder-inline-form {
    display: inline;
    padding-left: 15px;
}

.form-inline-accordion {
    margin-top: 1%;
}

.indicator-calendar {
    padding-top: 8px;
    padding-right: 23px;
}

.indicator-eraser {
    padding-top: 8px;
}

.search-daterange :read-only {
    background-color: white !important;
}

.search-daterange :-moz-read-only {
    background-color: white !important;
}

.search-daterange[readonly] {
    background-color: white !important;
}

.search-daterange-future :read-only {
    background-color: white !important;
}

.search-daterange-future :-moz-read-only {
    background-color: white !important;
}

.search-daterange-future[readonly] {
    background-color: white !important;
}

#SearchTypesContainer select:disabled {
    cursor: default;
}

#SearchType {
    width: auto;
    display: inline;
}

.field-validation-error {
    display: block;
}

.modal-multiline-textarea {
    /* 8 lines of line-height (24px) */
    height: 192px !important;
}

.tableactioncell {
    width: 40px;
}

.alert.alert-danger {
    border: 2px solid #CDCDCD;
    border-color: #CE1415;
    border-radius: 0;
    background-color: white;
    color: black;
}

.add-new-eppo-field {
    cursor: pointer;
}

.force-no-margin {
    margin: auto !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* Prevent the text of the label to be highlighted and change cursor to hand*/
.clickable-eppo-label {
    cursor: pointer;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

.eppo-icon {
    margin: 7px 2px 5px 2px !important;
    padding: 2px 0 !important;
    text-align: center;
}

.save-suggested-name {
    font-size: 13px !important;
}

/**********************************************/
/* CUSTOM IDP STYLES                          */
/**********************************************/
#identityprovider select {
    width: auto;
}

#identityprovider div.guide {
    background-color: #eee;
    border: 1px solid rgb(102, 102, 102);
    border-radius: 3px;
}

    #identityprovider div.guide > div.title {
        padding-left: 10px;
        padding-top: 5px;
        font-weight: bold;
    }

    #identityprovider div.guide > div.exclamation {
        padding-right: 10px;
        padding-top: 5px;
        float: right;
    }

    #identityprovider div.guide > div.guidelines {
        padding-top: 5px;
    }

#identityprovider div.login div {
    padding-bottom: 10px;
}

/**********************************************/
/* CUSTOM POPOVER STYLES                      */
/**********************************************/

.popover-content table {
    margin-top: 20px;
}

    .popover-content table.less-margin {
        margin-top: 10px;
    }

.environmentLoadPopoverTextAlign {
    text-align: right;
}

.popover-table {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

div.popoverContent td.td-label {
    vertical-align: top;
    width: 50%;
}

div.popoverContent tr.tr-spacer {
    height: 10px;
}

textarea.popover-textarea {
    box-sizing: border-box;
    font: 300 15px/24px "StagSans-Book-Web", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-variant: normal;
    font-weight: 300;
    color: rgb(102, 102, 102);
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.custom-popover-buttonpane {
    border: 0;
    margin: 0 2px 11px 0;
}

/**********************************************/
/* INVOICE DETAILS STYLES                     */
/**********************************************/
#invoice-details table tr td.amount {
    white-space: nowrap;
}

#invoice-details table tr.deleted {
    text-decoration: line-through;
}

.invoice-textbox {
    height: 18px;
}

.invoice-input-small {
    width: 50%;
    margin-bottom: 2px;
    display: inline-block;
}

/**********************************************/
/* DIFFERENCE STYLES                          */
/**********************************************/

ins {
    background-color: #c6ffc6;
    text-decoration: none;
}

del {
    background-color: #ffc6c6;
}

/**********************************************/
/* LOGO RESIZE STYLES                         */
/**********************************************/

@media (max-width: 991px) {
    header .navbar-brand img {
        width: 0px;
    }

    .logo-overlay {
        display: none;
    }
}

/**********************************************/
/* TYPEAHEAD STYLES                           */
/**********************************************/

.tt-suggestion {
    cursor: pointer;
    left: auto !important;
    right: 0 !important;
}

.tt-menu {
    left: auto !important;
    right: 0 !important;
    width: 100% !important;
}

.tt-dataset {
    text-align: left;
}

/**********************************************/
/* PHASE ACCORDION STYLES                     */
/**********************************************/

#accordion .panel-title {
    cursor: pointer;
    font-family: StagSans-Book-Web, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: rgb(102, 102, 102);
}

    #accordion .panel-title .form-group {
        margin: 0;
    }

#accordion .panel-heading {
    padding: 5px 15px;
}

    #accordion .panel-heading.phase-current {
        background-color: rgba(213, 196, 93, 0.5);
    }

    #accordion .panel-heading.phase-hold {
        background-color: rgba(90, 137, 250, 0.2);
    }

    #accordion .panel-heading.phase-todo {
        background-color: white;
    }

.chevron-fixed-width {
    width: 15px !important;
}

/* Setting width to make room for default value */
table th.custom-ruleset-width {
    width: 19%;
}

/**************************************************/
/*  CUSTOM HORIZONTAL FORM STYLES                 */
/*                                                */
/*  Overriding the bootstrap override styles      */
/*  after removal of content-box on inputs        */
/**************************************************/

div.custom-horizontal-form table th {
    padding: 8px 0;
}

    div.custom-horizontal-form table th:first-child {
        padding-left: 8px;
    }

div.custom-horizontal-form tbody td {
    padding: 8px 0;
}

    div.custom-horizontal-form tbody td:first-child {
        padding-left: 8px;
    }

    div.custom-horizontal-form tbody td:last-child {
        padding-right: 8px;
    }

div.custom-horizontal-form table tbody div.form-group {
    margin: 5px 2px !important;
}

div.custom-horizontal-form table tbody td:first-child div.form-group {
    margin-left: 5px !important;
}

div.no-padding tbody td {
    padding: 0px 0;
}

div.no-border tbody td {
    border-top: none;
}

/*************************************************/
/* Custom spinner styles                         */
/*************************************************/

.spinner {
    /* Needed for Firefox */
    -moz-appearance: textfield;
}

/*************************************************/
/* Custom J query sortable                        */
/*************************************************/
.ui-sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

    .ui-sortable li {
        margin: 5px;
        padding: 0 5px;
        cursor: pointer;
    }

.ui-state-highlight {
    height: 1.5em;
    line-height: 1.2em;
}

.dialogContainer:focus {
    /*Hide the chrome user agent outline styling of selected elements, when we set focus on the dialog container*/
    outline: none;
}

/**********************************************/
/* KEYNUMBER STYLES                           */
/**********************************************/

div.kn-container {
    color: rgb(52, 93, 103);
    display: inline-block;
    width: 160px;
    vertical-align: middle;
}

    div.kn-container p {
        color: rgb(102, 102, 102);
    }

    div.kn-container strong {
        color: rgb(52, 93, 103);
        font-family: "StagSans-Book-Web", Helvetica, Arial, sans-serif;
        font-size: 16px;
        margin-top: 0.1em;
        margin-left: -0.1em;
        font-weight: bold;
    }

div.kn-type {
    width: 80px;
    display: inline-block;
    vertical-align: middle;
}

div.kn-container-padding {
    padding-top: 5px;
}

div.kn-p-style {
    margin-bottom: 0;
}

#keynumbers p {
    margin-bottom: 0px;
}

/***********************************/
/* Styles for highlighting         */
/***********************************/
.highlight {
    background-color: rgb(225, 225, 225);
    color: black;
    padding: 0.5em;
    border-radius: 3px;
    margin: 0.2em;
    margin-left: 0;
    cursor: default;
}

.row-margin-top {
    margin-top: 0.5em;
}

/***********************************/
/* Styles for selectize overrides  */
/***********************************/
.selectize-control {
    min-height: 32px;
}

.selectize-input {
    padding: 0 0 0 2px !important;
    border-radius: 2px !important;
    border-color: rgb(204, 204, 204) !important;
    box-shadow: none !important;
}

.selectize-input {
    line-height: 20px !important;
    padding: 3px 10px 3px 10px !important;
    min-width: 24px !important;
}

.selectize-control.multi .selectize-input.has-items {
    padding: 0 8px 0;
}

.selectize-control.multi .selectize-input > div {
    margin: 3px 5px 3px 0;
    padding: 3px 20px 3px 5px;
    border: 1px solid #aaa;
    max-width: 100%;
    border-radius: 3px;
    background-color: #eeeeee;
    background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eeeeee));
    background-image: -webkit-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: -moz-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: -o-linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eeeeee 100%);
    background-size: 100% 19px;
    background-repeat: repeat-x;
    background-clip: padding-box;
    box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
    color: #555;
    line-height: 13px;
    cursor: default;
}

    .selectize-control.multi .selectize-input > div.active {
        border: 1px solid #aaa;
    }

.selectize-control::before {
    -moz-transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
    content: "";
    z-index: 2;
    position: absolute;
    display: block;
    top: 100%;
    right: 7px;
    width: 16px;
    height: 16px;
    background: url(../../img/loader.gif);
    background-size: 16px 16px;
    opacity: 0;
    margin-top: -30px;
}

.selectize-control.loading::before {
    opacity: 0.4;
}

/***********************************/
/* Styles for 'pinned help'        */
/***********************************/

.top-buffer {
    position: relative; /* This is because the pinned elements needs the position 'absolute', and in order to make that work, the parent (this) needs to have a relative position */
}

.top-right, .top-left, .bottom-right, .bottom-left {
    position: absolute;
    text-align: center;
    margin: 0;
    padding: 1.5em;
}

.top-right {
    right: 0;
    top: 0;
}

.top-left {
    left: 0;
    top: 0;
}

.bottom-left {
    left: 0;
    bottom: 0;
}

.bottom-right {
    bottom: 0;
    right: 0;
}

/***********************************/
/* Check box styles                */
/***********************************/

.form-control-checkbox {
    padding: 3px 10px;
    height: 20px !important;
    line-height: 20px;
    margin-left: 15px !important;
    vertical-align: middle;
}

/***********************************/
/* Pinned help styling             */
/***********************************/

#pinned-help {
    padding: 0px;
    opacity: 0.9;
}

#help-tab, #help-body {
    float: left;
    background-color: white;
    border-top: 1px solid rgb(43, 63, 55);
    border-bottom-right-radius: 15px;
    border-bottom: 1px solid rgb(43, 63, 55);
    border-right: 1px solid rgb(43, 63, 55);
}

#help-tab {
    cursor: pointer;
    border-top-right-radius: 15px;
    padding: 10px;
    border-left: none;
    margin-left: -1px;
}

    #help-tab p {
        font-size: 12px;
        margin: 0;
    }

    #help-tab i {
        color: rgb(52, 93, 103);
        font-size: 30px;
    }

#help-body {
    min-height: 200px;
    margin-left: -1px;
}

#help-content {
    padding: 20px;
    text-align: left;
}

#help-tree-view, #help-text, #help-report {
    float: left;
    margin-right: 10px;
}

#help-report {
    margin-top: 20px;
    margin-bottom: 10px;
    clear: both;
}

    #help-report i {
        margin: 5px;
        font-size: 15px;
    }

.jstree-wholerow-clicked {
    background-image: linear-gradient(rgb(170, 204, 212) 0%, rgb(170, 204, 212) 100%) !important;
}

.jstree-wholerow-hovered {
    background-image: linear-gradient(rgb(238, 245, 246) 0%, rgb(238, 245, 246) 100%) !important;
}

/***********************************/
/* Styles to Grey out disabled     */
/* multi chosen input              */
/***********************************/

.chosen-disabled ul.chosen-choices {
    background-color: rgb(240, 240, 240);
}

.chosen-disabled {
    opacity: 1 !important;
}

#roles_table {
    table-layout: fixed;
}

    #roles_table th {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

/***********************************/
/* Openlayers 3 styling            */
/***********************************/
#locations .ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

    #locations .ol-popup:after, #locations .ol-popup:before {
        top: 100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

    #locations .ol-popup:after {
        border-top-color: white;
        border-width: 10px;
        left: 48px;
        margin-left: -10px;
    }

    #locations .ol-popup:before {
        display: none;
        border-top-color: #cccccc;
        border-width: 11px;
        left: 48px;
        margin-left: -11px;
    }

#locations .ol-dragzoom {
    border-color: #345D67;
}

#locations .map-text {
    font-size: 9px;
}

#locations #PlotId {
    margin: 20px;
    max-width: 200px;
}

#locations span.report-location-map-layers > span.report-location-map-checkbox {
    padding-right: 10px;
}

/******************************/
/*        News styles         */
/******************************/

.news-feed-wrapper {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
}

/******************************/
/*   javascript link styles   */
/******************************/

.js-link {
    cursor: pointer;
    color: #345d67;
}

/******************************/
/*   Dialog displayFor style   */
/******************************/

.displayFor {
    padding-top: 0.2em;
}

/******************/
/* Settings style */
/******************/

span.toggle-virk, span.toggle-iframe {
    cursor: pointer;
}

/***********************************************************************************/
/* Styles that handles the padding between the two details columns on detail pages */
/***********************************************************************************/

div.container.detail > div.row:first-child > div[class^="col-"]:first-child,
div.container.detail > div.row:first-child > div[class*=" col-"]:first-child {
    padding-right: 5px;
}

div.container.detail > div.row:first-child > div[class^="col-"]:last-child,
div.container.detail > div.row:first-child > div[class*=" col-"]:last-child {
    padding-left: 5px;
}

/****************************************************************/
/* Styles for selectize inputs on the product eppo use relation */
/****************************************************************/

span.selectize_caption, span.selectize_item_caption {
    font-size: 80%;
    opacity: 0.5;
    margin-left: 1em;
}

span.selectize_caption {
    display: block;
}

.no-left-padding {
    padding-left: 0;
}

.no-right-padding {
    padding-right: 0;
}

.no-horizontal-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding-top {
    padding-top: 0;
}

.no-padding-bottom {
    padding-bottom: 0;
}

.no-vertical-padding {
    padding-top: 0;
    padding-bottom: 0;
}

#addEppoUse div.selectize-input.items::after {
    display: none;
}

#addEppoUse > div:nth-child(3) > div.col-md-4.no-left-padding > div > div.selectize-input.items.has-options.full.has-items {
    line-height: 26px;
}

/* This hides the remove row option, when there is only one row */
#addEppoUse > #eppo-use-rows > div.form-group:only-child i.remove-row {
    display: none;
}

div.selectize-input > input {
    width: 100% !important;
}

td[rowspan]:not([rowspan="1"]) {
    vertical-align: middle;
}

th[colspan]:not([colspan="1"]) {
    text-align: center;
}

table.eppo-use-table {
    word-break: break-all;
}

    table.eppo-use-table td, table.eppo-use-table th {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    table.eppo-use-table th {
        word-break: normal;
    }

    table.eppo-use-table:not(.mst-table) th {
        font-weight: bold;
    }

    table.eppo-use-table th {
        min-width: 6em;
    }

.SubstanceRangeTable {
    width: 100%;
}

th.range-input-width {
    width: 110px;
}

/******************/
/* Custom table */
/******************/
.edit-task-clockstop {
    width: 900px
}

.cell-small-vertical-align {
    width: 5%;
    vertical-align: middle !important;
}

.cell-medium {
    width: 15%;
}

.cell-large {
    width: 50%;
}

/*jQuery ui spinner breaks out of col-md-x boxes because of margin*/
/*FB101785; "Pile på gebyropkrævning forsvundet"*/
/*Ansøgning detaljeside>Gebyrer>Opret ny>Tillægsgebyrer, pile på inputfelter*/
.ui-spinner-input {
    width: 80%;
    margin-right: unset;
}
