﻿/* 
    THIS CSS IS USED FOR STYLING FROM THE COMPANY SORT/HVID 
   
    USED SINCE Jan 2017
*/

/* Bootstrap add-ons and overwrites */
.no-gutter {
    margin-right: 0;
    margin-left: 0;
}

.container-fluid > .navbar-header {
    margin-right: 0;
    margin-left: 0;
}

.tooltip ul {
    -webkit-padding-start: 12px;
    padding-left: 12px;
}

.navbar-toggle:focus,
.list-group-item:focus {
    outline: 2px dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

button.close {
    opacity: 0.5;
    transition: 0.2s;
}

    button.close:hover {
        opacity: 0.8;
    }

.btn {
    white-space: normal;
}

    .btn.disabled * {
        cursor: not-allowed;
    }

@media (max-width: 575.98px) {
    .col-xxs-12 {
        width: 100%;
    }
}

.pagination .next > a,
.pagination .prev > a {
    padding: 5px 10px;
    width: auto;
}

.portal-body .pagination > li > a,
.portal-body .pagination > li > span {
    padding: 6px 0;
    width: 33px;
    text-align: center;
}
/** List error styling **/
.header-alert-link {
    font-size: 16px;
}

.main-alert-list {
    padding: 0;
    -webkit-padding-start: 0;
    margin-bottom: 10px;
}

    .main-alert-list ul > li {
        margin-bottom: 5px;
    }

.li-error {
    list-style-type: none;
    color: #843534;
    font-weight: bold;
    margin: 5px 0 8px 0;
}

    .li-error > ul {
        margin-top: 5px;
        list-style-type: disc;
        font-weight: normal;
    }

@media (max-width: 575.98px) {
    .col-xxs-12 {
        width: 100%;
    }
}

/* To counteract chrome glyphicon problem with showing focusbox outside of element due to some weird glyphicon bootstrap styling */
.list-group-item:focus {
    overflow: hidden;
}
/* WAS style adjustments */
div .declaration-header, div.skip-to-link-container {
    display: none !important;
}

.was-container .container {
    max-width: 980px;
}

.was-container p {
    line-height: 2.4rem;
    margin: 1.6rem 0;
}

.was-container h1,
.was-container h2,
.was-container h3 {
    margin: 2.4rem 0 1.6rem 0;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.was-container ol > li::marker {
    font-weight: bold;
}

@media screen and (max-width:575.98px) {
    .was-container h1 {
        font-size: 30px;
    }

    .was-container h2 {
        font-size: 26px;
    }

    .was-container h3 {
        font-size: 20px;
    }

    .li-error > ul {
        padding: 0;
        -webkit-padding-start: 0;
        padding-left: 20px;
    }
}
/* similar to Bootstrap 4 padding/margin classes */
.pl-0 {
    padding-left: 0;
}

.pl-20 {
    padding-left: 20px;
}

.pr-0 {
    padding-right: 0;
}

.pr-15 {
    padding-right: 15px;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.px-20 {
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.py-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.pt-0 {
    padding-top: 0;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-50 {
    padding-bottom: 50px;
}

.mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.mt-0 {
    margin-top: 0px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mr-10 {
    margin-right: 10px;
}

.tas-flex-block {
    -webkit-align-self: stretch;
    align-self: stretch;
}

.flex-col-space {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.tas-flex-end {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.flex-row-space-right {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.tas-flex-strecth {
    -webkit-flex: 1 1 100%; /* flex-basis needs to 100% instead of auto due to IE bug */
    flex: 1 1 100%;
    -webkit-align-self: stretch;
    align-self: stretch;
}

.tas-flex-between-center {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start; 
    justify-content: flex-start; 
    -webkit-align-items: center; 
    align-items: center;
}

.tas-w-60 {
    width: 60%;
}

.scroll-x {
    overflow-x: auto;
}

.tas-table-pull-right {
    white-space: nowrap;
}

    .tas-table-pull-right th:first-child {
        width: 99%;
    }

.tas-activity-overview-btn {
    width: 60%;
    margin: auto;
}
/* Setting color to the lightest gray compliant with a11y requirements */
small,
.text-muted,
.navbar-default .navbar-nav > li > a {
    color: #73767c !important;
}

.text-muted-medium {
    color: #696969;
}

.tas-primary-color {
    color: #78278B;
}
/* Preventing click on disabled tabs */
.disabled a[data-toggle=tab] {
    pointer-events: none;
}
/* Text Classes */
.h2,
.jumbotron .h2 {
    font-size: 30px;
}

.h3 {
    font-size: 24px;
}

.h4 {
    font-size: 18px;
}

legend {
    border: none;
}

    legend.h2 {
        margin-bottom: 15px;
    }

    legend.control-label {
        font-size: 14px;
        font-weight: 700;
    }

.tas-taskdetails-overview-error-text {
    cursor: pointer;
}

.dl-horizontal dt {
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

p.name a {
    word-break: break-all;
}

.tab-pane:focus {
    outline: none;
}

.tab-content-wrapper > header {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-content: flex-end;
    align-content: flex-end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}

.tab-content-header {
    margin: 5px 5px 5px 0;
}

textarea {
    resize: none;
}
/* Custom Descriptive List styling */
.tas-activity-header-container .dl-horizontal dt {
    width: 80px;
    text-align: left;
}

.tas-activity-header-container .dl-horizontal dd {
    margin-left: 90px;
    padding-right: 20px;
    padding-bottom: 5px;
    min-height: 40px;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .tas-activity-header-container .dl-horizontal dd:before {
        display: none;
    }

.tas-v-top {
    vertical-align: top;
}

/* General style add ons*/
table {
    width: 100%;
}

th {
    white-space: nowrap;
    min-width: 15%;
}

.tas-forsystem-table th {
    white-space: normal;
}



tr {
    transition: background-color 0.2s;
}

td {
    vertical-align: top;
}

    td.tas-break-word {
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 140px;
        max-width: 1px;
    }

.btn {
    transition: color 0.2s, background-color 0.2s;
}

.topmenu-link:hover span {
    color: #333;
}

.tas-chkbox-wrapper {
    padding-top: 10px;
    text-align: left;
    height: 40px;
}
/* Change text of collapsable links */
[data-toggle="collapse"].collapsed .if-not-collapsed {
    display: none;
}

[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
    display: none;
}

/* Misc */
.tas-no-padding-right {
    padding-right: 0 !important;
}

.tas-no-margin-right {
    margin-right: 0 !important;
}

.tas-no-margin {
    margin: 0 !important;
}

.tas-no-margin-top {
    margin-top: 0 !important;
}

.form-control-textarea {
    display: block;
    width: 100%;
    height: 134px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control-textarea-height-250 {
    height: 250px;
}


.tas-no-margin-bottom {
    margin-bottom: 0 !important;
}

hr {
    border-top: 1px solid #B2B2B2;
    height: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tas-position-relative {
    position: relative;
}

.tas-bold {
    font-weight: bold;
}

.no-border {
    border: none !important;
    background-color: transparent !important;
}

.tas-font-weight-normal {
    font-weight: normal;
}

.tas-show-when-printing {
    display: none;
}

.tas-mimic-textarea-placeholder-input {
    height: 200px !important;
    color: #ADADAD;
    cursor: text;
    padding: 10px 15px !important;
}

.tas-textarea-no-resize {
    resize: none;
}

.tas-forsystem-table > tbody > tr > td:first-child,
.tas-forsystem-table > tbody > tr > td .validationError {
    position: relative;
    width: 100%;
    height: 100%;
}

.tas-forsystem-table > tbody > tr > td:first-child {
    max-height: 40px;
}

.tas-forsystem-table.tas-forsystem-table-overview > tbody > tr > td :first-child {
    height: auto;
}

.tas-emulate-input {
    border-radius: 2px;
    border: 1px solid #B2B2B2;
    background: #E8E8E8;
    padding: 9px 6px;
}
/* Links */
.tas-header-link {
    color: #78278B;
}

    .tas-header-link:hover {
        color: #78278B;
        text-decoration: none;
    }

/* Generel containers */
.tas-information-container {
    background-color: #f1f1f1;
    color: #333333;
    margin: 0;
    padding: 20px;
}

.tas-sort-container {
    color: #333333;
    margin: 15px 0;
    padding: 20px 20px;
}

.tas-portal-menu, .tas-my-overview-container, .tas-application-details-container, .tas-login-container, #globalErrorRow {
    margin: 0 auto;
}

#globalErrorRow {
    background-color: #f6eded;
    margin-bottom: 10px;
}

#globalErrorRow .alert {
    margin: 5px;
}

#globalErrorRow > div {
    padding: 0 !important;
}

#globalErrorRow:empty {
    display: none;
}

.tas-container-margin .row {
    margin: 0 !important;
}

/*Errors*/
.alert {
    border-radius: 0;
    border: 0;
}

.globalValidationErrorCol {
    padding-left: 0;
    padding-right: 0;
}

/*Pools*/
.tas-pool-header {
    margin-bottom: 50px;
}

.tas-pool-info-container {
    background-color: #f1f1f1;
    margin-top: -30px;
    margin-bottom: 30px;
    padding: 0 30px 25px 30px;
}

.tas-pool-info-link span {
    color: #78278B;
    font-weight: bold;
    text-decoration: underline;
}

/* My overview */
.tas-create-application-container {
    margin: 25px -15px 10px -15px;
}

.tas-application-header-container {
    margin: 50px 0 0 0;
    padding: 0 15px;
    font-weight: bold;
}

    .tas-application-header-container span {
        cursor: pointer;
    }

.tas-application-container {
    margin: 20px 0 0 0;
    padding: 25px;
    position: relative;
    cursor: pointer;
    border-bottom: 2px solid #78278B;
}

    .tas-application-container:hover,
    .tas-application-container:hover * {
        background-color: #C7B8DB;
    }

    .tas-application-container > div > div {
        white-space: nowrap;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
    }

.tas-application-assignmentcount {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 24px;
    height: 24px;
    border-radius: 15px;
    background-color: #DE0004 !important;
    color: #FFFFFF;
    text-align: center;
    padding-top: 2px;
}

    .tas-application-assignmentcount:hover {
        cursor: pointer;
    }

.tas-activity-open {
    font-weight: bold;
}

.tas-activity-header {
    padding: 5px 0 30px;
}

.btn {
    border-radius: 2px !important;
}

    .btn:focus {
        color: #333333;
        background-color: #C7B8DB;
    }

.tas-large-button, .btn-primary {
    background-color: #78278B;
    padding: 15px;
    color: #FFFFFF;
    min-width: 120px;
}

    .tas-large-button:hover,
    .tas-large-button:focus,
    .btn-primary:hover,
    .btn-primary:focus {
        cursor: pointer;
        color: #333333;
        background-color: #C7B8DB;
    }

.btn-large {
    padding: 15px;
    min-width: 150px;
}

.tas-forsystem-periodscroller {
    background-color: #f1f1f1;
    padding: 30px 10px 0px 10px;
    width: 100%;
}

.btn-primary {
    padding: 6px 12px;
}

.tas-activity-as-button-container {
    background-color: #f1f1f1;
    padding: 30px 30px 25px 30px;
    margin-bottom: 30px;
}

.tas-html-links-container {
    background-color: #f1f1f1;
    margin: 20px 0 30px 0;
    padding: 20px;
}

.tas-show-all-activities-link {
    margin-top: -25px;
}

.row.tas-display-flex {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
}

    .row.tas-display-flex > [class*="col-"] {
        display: -webkit-flex;
        display: flex;
    }

.tas-dashboard-filter-container {
    margin-top: 30px;
}

.tas-app-inner-body-top-margin {
    margin-top: 5px;
}

.tas-margin-none {
    margin: 0 !important;
}

.tas-seperator-line {
    width: 100%;
    margin: 20px 0;
    height: 1px;
    border-bottom: 1px solid #666666;
}

.tas-seperator-line-extra-top-margin {
    margin-top: 40px;
}

/* My application*/
.tas-activity-header-container {
    background-color: #f1f1f1;
    margin: 20px 0 30px 0;
    padding: 35px 20px 10px 20px;
}

    .tas-activity-header-container > div {
        padding-left: 15px;
        padding-bottom: 5px;
        padding-top: 5px;
    }

.tas-activity-as-button-style {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    white-space: normal;
}

.tas-activity-as-button-info {
    padding-bottom: 20px;
}

.tas-col-center {
    float: none;
    margin-right: auto;
    margin-left: auto;
}

.tas-padding-left-5pct {
    padding-left: 5%;
}

.tas-padding-left-10pct {
    padding-left: 10%;
}

.tas-application-details-container hr {
    margin-top: 15px;
    margin-bottom: 10px;
}

.tas-application-details-container-row {
    margin-left: 0;
    margin-right: 0;
}

.tas-bottom-margin-10 {
    margin-bottom: 10px;
}

.tas-padding-25 {
    padding: 25px;
}

/* MY PROFILE */
.tas-my-profile-button-container {
    padding-left: 0;
}

/* Activity User */
.tas-activity-profile-container {
    margin: 0;
}

.tas-general-configuration-header {
    margin-bottom: 20px;
}

.tas-general-configuration-section-header {
    text-align: right;
    margin-top: 10px;
    margin-left: 10px;
}

.tas-text-ellipsis,
.tas-text-ellipsis-no-expand {
    display: inline-block;
    max-width: 100%;
    -moz-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

    .tas-text-ellipsis.ellipsis-active.hover:after {
        content: '';
    }

.tas-text-ellipsis-html-string {
    overflow: hidden;
    white-space: normal;
    word-break: normal;
    word-wrap: break-word;
}

.tas-text-nowrap {
    display: inline-block;
    max-width: 100%;
    -moz-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
}

.tas-text-ellipsis {
    padding-right: 5px;
}

.tas-text-ellipsis-no-expand {
    padding-right: 18px;
    max-width: 100% !important;
}

    .tas-text-ellipsis-no-expand:after {
        content: ' \1F5D7';
        position: absolute;
        right: 0;
        top: -6px;
        font-size: 20px;
    }

.tas-emulate-input .tas-text-ellipsis-no-expand {
    padding-right: 24px;
}

.tas-text-ellipsis.ellipsis-active {
    cursor: pointer;
    text-align: left;
}

.tas-text-ellipsis.tas-required-label.ellipsis-active {
    padding-right: 10px;
    position: relative;
}

    .tas-text-ellipsis.tas-required-label.ellipsis-active span:first-child {
        position: absolute;
        right: 2px;
    }

    .tas-text-ellipsis.tas-required-label.ellipsis-active.hover span:first-child {
        position: static;
    }

.tas-text-ellipsis > span {
    background-color: inherit;
    transition: 0.2s;
}

.tas-text-ellipsis.hover {
    height: auto;
    white-space: normal;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .tas-text-ellipsis.hover span {
        display: inline-block;
        height: auto;
        white-space: normal;
        word-break: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

main.container-fluid {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
}

.container-fluid {
    width: 100%;
}

a:hover {
    cursor: pointer;
}

#menu-action {
    display: none;
    margin-left: -30px;
}

.tas-footer {
    color: #333333;
    background-color: #f1f1f1;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

    .tas-footer a {
        color: #333333;
    }

        .tas-footer a:hover {
            color: #333333;
        }

a.footer-link {
    text-decoration: underline;
}

    a.footer-link:hover {
        color: #78278b;
    }

/* Secondary Menu: Logo and menu on one row */
.tas-navbar-button-container {
    margin-right: 0;
}

.tas-navbar-inline-logo {
    background-color: #FFFFFF !important;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 1px solid !important;
    border-color: #DEDEDE !important;
}

    .tas-navbar-inline-logo .tas-navbar-active a span:first-child,
    .tas-navbar-inline-logo a:focus span:first-child,
    .tas-navbar-inline-logo li a:hover span:first-child {
        border-bottom: 2px solid #78278B;
        padding-bottom: 5px;
        transition: 0.2s;
    }

    .tas-navbar-inline-logo .icon-bar {
        background-color: #78278B !important;
    }

    .tas-navbar-inline-logo li a {
        color: #333333;
        margin-left: 20px;
    }

    .tas-navbar-inline-logo #menu-action {
        margin-left: 50px;
    }

.topmenu-link {
    color: #333333;
    text-transform: uppercase;
}

.tas-fixed-menu-top-padding {
    padding-top: 95px;
}

/* Activity details */
.tas-taskdetails-header,
.tas-taskdetails-header-approved {
    margin: 20px 0 5px;
    position: relative;
}

.tas-header-link-glyph {
    color: black !important;
    font-size: 15px;
    position: absolute;
    left: -48px;
    line-height: 32px;
    padding: 0 20px;
}

.tas-button-bottom-next {
    border: 2px solid #78278B;
}

.tas-large-button-transparent {
    background-color: transparent;
    padding: 15px;
    color: #78278B;
    border: 2px solid #78278B;
    min-width: 120px;
}

.tas-responsive-button-transparent {
    background-color: transparent;
    padding: 15px;
    color: #78278B;
    border: 2px solid #78278B;
    width: 100%;
}

.tas-small-button {
    padding: 6px 12px;
    height: 40px;
}

.tas-small-button-outlined {
    background: transparent;
    border: 1px solid #B2B2B2;
}

.tas-large-button-transparent:hover,
.tas-large-button-transparent:focus,
.tas-responsive-button-transparent:hover,
.tas-responsive-button-transparent:focus {
    background-color: #C7B8DB;
}

/* Tabbed menu - Activity details */
.tas-tabbable:before,
.tas-tabbable:after {
    display: table;
    line-height: 0;
    content: "";
}

.tas-tabbable:after {
    clear: both;
}

.tas-tabbable {
    margin-top: 40px;
}

.nav-tabs > li > a {
    border: 0;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    border: none;
    -webkit-box-shadow: inset 1px 1px 0 0 #DEDEDE, inset -1px 1px 0 0 #DEDEDE;
    box-shadow: inset 1px 1px 0 0 #DEDEDE, inset -1px 1px 0 0 #DEDEDE;
}

.tas-tabbable > nav > ul {
    border-bottom: 1px solid #DEDEDE;
    position: relative;
    padding-right: 66px;
}

    .tas-tabbable > nav > ul > li {
        margin-bottom: -1px;
        padding-right: 10px;
        max-width: calc(100% - 66px);
    }

        .tas-tabbable > nav > ul > li:last-child {
            padding-right: 0;
        }

        .tas-tabbable > nav > ul > li > a {
            color: #73767c;
            border: none;
            font-size: 17px;
            font-weight: 500;
        }

        .tas-tabbable > nav > ul > li.disabled,
        .tas-tabbable > nav > ul > li.dropdown li.disabled {
            cursor: wait;
        }

        .tas-tabbable > nav > ul > li.active > a,
        .tas-tabbable > nav > ul > li.active > a:focus,
        .tas-tabbable > nav > ul > li.active > a:hover {
            background-color: #FFF;
            color: #78278B;
        }

        .tas-tabbable > nav > ul > li.tabdrop {
            position: absolute;
            right: 0;
            bottom: 0;
        }

.nav-tabs, .nav-pills {
    position: relative;
}

/* Approved Taskdetails*/
.tas-taskdetails-header-approved {
    margin-left: 0;
    padding-left: 2px;
}

.tas-header-link-glyph-approved {
    left: -43px;
    top: 23px !important;
}

.tas-taskdetails-info-container {
    padding: 24px;
    margin: 10px 15px 5px 0;
}

.tas-details-download-file {
    background-color: #78278B;
    color: #ffffff;
    cursor: pointer;
    padding: 24px 60px;
    margin: 0 15px 5px 0;
    transition: background-color 0.2s;
}

    .tas-details-download-file * {
        background-color: #78278B;
        color: #ffffff;
        transition: background-color 0.2s;
    }

    .tas-details-download-file:hover,
    .tas-details-download-file:focus,
    .tas-details-download-file:hover *,
    .tas-details-download-file:focus * {
        cursor: pointer;
        color: #333333;
        background-color: #C7B8DB;
    }

    .tas-details-download-file .glyphicon {
        font-size: 20px;
    }

    .tas-details-download-file button,
    .tas-details-download-file div,
    .tas-details-download-file span,
    .tas-details-download-file button:hover {
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }

.tas-taskdetails-approved-no-notes {
    margin-top: 30px;
}

.tas-taskdetails-approved-no-documents {
    margin-top: 5px;
}

.tas-taskdetails-approved-attachement-text {
    margin-top: 30px;
    margin-bottom: -5px;
}

/* Taskdetails - Overview and approve */
.tas-taskdetails-overview-container {
    margin: 20px 0 0 0 !important;
    padding: 25px;
    position: relative;
    background: #f1f1f1;
}

    .tas-taskdetails-overview-container .tas-information-container {
        padding: 0;
    }

    .tas-taskdetails-overview-container:first-of-type {
        margin: 0 !important;
    }

    .tas-taskdetails-overview-container:last-of-type {
        margin-bottom: 20px !important;
    }

#sendInvitationContainer {
    margin-top: 20px !important;
}

.tas-taskdetails-case-info {
    color: #73767c;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.tas-taskdetails-description {
    padding-left: 23px;
}

.tas-taskdetails-overview-frontsystem-complex-container {
    width: 100%;
    white-space: normal;
}

.tas-taskdetails-overview-error-container {
    margin: 0 0 40px 0;
    padding: 20px 65px;
    position: relative;
    background-color: #F2DEDE;
    color: #000000;
    font-weight: bold;
}

.tas-taskdetails-overview-warning-container {
    margin: 10px 0 0 0;
    padding: 25px;
    background-color: #FFF7C6;
}

.tas-taskdetails-overview-error-text,
.tas-taskdetails-overview-error-text a,
.tas-taskdetails-overview-error-text a:visited,
.tas-taskdetails-overview-error-text a:hover,
.tas-taskdetails-overview-error-text a:active {
    color: #DE0004;
}

td.tas-taskdetails-overview-error-text {
    background-color: #f4e0de;
    color: #c81d0b;
}


    td.tas-taskdetails-overview-error-text:hover {
        -webkit-box-shadow: inset 0 0 2px 1px rgba(200,29,11,1);
        -moz-box-shadow: inset 0 0 2px 1px rgba(200,29,11,1);
        box-shadow: inset 0 0 2px 1px rgba(200,29,11,1);
    }

.tas-taskdetails-overview-error-container .tas-taskdetails-overview-error-text {
    color: #C71A0B;
}

.tas-taskdetails-overview-heading {
    margin-bottom: 30px;
}

.tas-taskdetails-overview-row {
    margin: 5px 0;
}

.tas-taskdetails-overview-sub-heading {
    padding: 0;
    margin: 5px 0 15px;
    font-weight: bold;
    text-decoration: underline;
}

.tas-forsystem-table-overview th {
    text-align: left !important;
    padding-left: 7px;
}

.tas-forsystem-table-overview th,
.tas-forsystem-table-overview td,
.tas-forsystem-table-overview td > * {
    vertical-align: text-top !important;
}

.tas-forsystem-table-overview > tbody > tr:nth-of-type(2n+1),
.tas-forsystem-table-overview > tbody > tr:nth-of-type(2n+1) > th:first-child {
    background-color: #E8E8E8 !important;
}

.tas-forsystem-table-overview > tbody > tr:nth-of-type(2n),
.tas-forsystem-table-overview > tbody > tr:nth-of-type(2n) > th:first-child {
    background-color: #E1E1E1 !important;
}

.tas-forsystem-table-overview th, .tas-forsystem-table-overview td {
    min-width: 140px;
    width: 140px;
    max-width: 140px;
}

.tas-forsystem-table-overview thead > tr > td {
    padding-top: 15px;
}

td > h2.tas-tbl-grp-header {
    margin-left: -10px;
    display: inline;
}

.tas-forsystem-table-overview td > h2.tas-tbl-grp-header {
    white-space: normal;
}

.tas-forsystem-table-overview td > h2.tas-tbl-grp-header {
    white-space: normal;
}

/* TASK DETAILS QUOTA OVERVIEW */
.tas-taskdetails-quota-header {
    margin-bottom: 15px;
}

.tas-taskdetails-quota-information {
    font-weight: bold;
    margin-bottom: 30px;
}

.tas-taskdetails-quota-journalnr {
    margin-bottom: 30px;
}

.tas-taskdetails-quota-link, .tas-taskdetails-quota-link:hover {
    color: #78278B;
    text-decoration: underline;
    font-weight: bold;
}

.tas-taskdetails-quota-print-icon {
    font-size: 40px;
    color: #78278B;
    margin-top: 10px;
    margin-bottom: 60px;
}

    .tas-taskdetails-quota-print-icon .glyphicon {
        cursor: pointer;
    }

.tas-taskdetails-quota-faq-outer-container {
    margin-bottom: 50px;
}

.tas-taskdetails-quota-faq-container {
    padding: 25px 60px;
    margin-bottom: 10px;
}

.tas-taskdetails-quota-faq-header {
    font-size: 18px;
    margin-bottom: 15px;
}

.tas-taskdetails-quota-bottom-text, .tas-taskdetails-quota-bottom-text-bold {
    padding: 0;
    margin-bottom: 60px;
    font-size: 18px;
}

.tas-taskdetails-quota-bottom-text-bold {
    font-weight: bold;
}
/* TASK DETAILS - QUOTA DETAILS */
.tas-quotadetails-overview-container {
    margin: 0 0 10px 0 !important;
    padding: 25px;
    position: relative;
}

/* This will target all but the first element with tas-taskdetails-overview-sub-heading */
.tas-taskdetails-overview-container .tas-taskdetails-overview-sub-heading ~ .tas-taskdetails-overview-sub-heading {
    margin-top: 40px;
}

.tas-taskdetails-overview-title-column {
    font-weight: bold;
    white-space: normal;
    overflow: visible;
    word-break: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

    .tas-taskdetails-overview-title-column button {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }

td .tas-taskdetails-overview-title-column {
    font-weight: normal;
}

.tas-button-overview-edit {
    float: right;
}

.tas-taskdetails-overview-disabled, .tas-taskdetails-overview-disabled:hover {
    background-color: #D6D6D6;
    color: #5C5C5C;
    border: 2px solid #D6D6D6;
    cursor: not-allowed;
}

.tas-forsystem-container {
    background-color: #f1f1f1;
    padding: 5px 0px 30px 10px;
    margin-bottom: 10px;
    width: 100%;
}

    .tas-forsystem-container:not(:last-child) {
        margin-right: 5px;
    }

.tas-forsystem-block {
    background-color: #F6F6F6;
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.tas-forsystem-container:last-of-type {
    margin-bottom: 50px;
}

.tas-forsystem-container-scroll {
    position: relative;
    width: 100%;
    z-index: 1;
}

    .tas-forsystem-container-scroll.active {
        display: block;
    }

.tas-forsystem-container-scroll .tas-forsystem-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    padding-bottom: 40px;
    table-layout: fixed;
}

        .tas-forsystem-container-scroll .tas-forsystem-table.tas-forsystem-table-overview {
            border-spacing: 2px;
        }

.tas-forsystem-table > tbody > tr > td {
    min-width: 165px;
    max-width: 165px;
    padding: 6px 12px;
    overflow: visible;
    height: 52px;
}

.portal-body th .dyn-frontsystem-simple-help {
    top: -5px;
    right: 5px;
}

.tas-forsystem-table th span:not(.tas-text-ellipsis) ~ .dyn-frontsystem-simple-help {
    top: 12px;
    right: 0;
}

.tas-complex-header {
    padding-left: 312px;
}

    .tas-complex-header h3 {
        font-size: 14px;
        font-weight: bold;
    }

.tas-group-description {
    margin-bottom: 20px;
}

.tas-group-description-complex-view {
    width: 450px;
    white-space: initial;
}

.tas-forsystem-simple-container > div:first-child {
    overflow: visible;
    white-space: normal;
    padding-bottom: 20px;
}

.tas-forsystem-container legend:first-of-type {
    padding-top: 30px;
}

.tas-forsystem-container legend {
    padding-top: 15px;
}

.tas-forsystem-simple-container input[type='checkbox'] {
    margin-top: 13px;
}

.tas-forsystem-receipt {
    margin-bottom: 10px !important;
    background-color: transparent !important;
    border: 1px solid #dddddd !important;
}

.tas-frontsystem-navbar {
    position: fixed !important;
    top: 0 !important;
}

.tas-forsystem-table > thead > tr > th {
    padding: 7px 12px;
    white-space: initial;
    vertical-align: top;
}

.tas-forsystem-table > tbody > tr > th:first-child {
    font-weight: bold;
    text-align: left;
    vertical-align: top;
    padding-left: 0 !important;
    padding-top: 12px !important;
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #f1f1f1 !important;
}

.tas-forsystem-table.tas-forsystem-table-overview > tbody > tr > th:first-child {
    padding-left: 10px !important;
}

.tas-forsystem-table-overview > tbody > tr > th:first-child {
    padding-top: 6px !important;
}

.tas-forsystem-table .tas-forsystem-div-value {
    padding: 6px;
}

.tas-forsystem-table .tas-forsystem-td-period {
    padding: 12px 12px 0px 12px;
}

.tas-forsystem-td-group {
    padding: 0px 0px 0px 0px;
    font-size: 18px;
    font-weight: bold;
}
.tas-forsystem-td-group_main {
    padding: 0px 0px 0px 0px;
    font-size: 16px;
    font-weight: normal;
}


.tas-forsystem-table .form-group {
    margin-bottom: 0 !important;
    position: relative;
    width: 100%;
}

.editor-link input[data-iseditable="true"].form-control[readonly] {
    background-color: #fff;
}

.tas-forsystem-table .input-checkbox {
    transform: scale(1) !important;
}

.tas-forsystem-table .glyphicon-question-sign {
    cursor: help;
}

.tas-forsystem-table input[type="radio"], .tas-forsystem-table input[type="checkbox"] {
    margin: 4px 0 10px 0;
    height: 14px !important;
    width: auto !important;
}

.tas-forsystem-compact > thead > tr > th {
    padding: 3px 12px;
    min-width: 170px;
}

.tas-forsystem-compact > tbody > tr > td {
    padding: 3px 10px;
    min-width: 180px;
    max-width: 180px;
}

.tas-forsystem-compact .tas-forsystem-div-value {
    padding: 6px 14px 6px 9px
}

.tas-forsystem-compact .tas-forsystem-table {
    min-width: 440px;
}

.tas-forsystem-compact .editor-open {
    cursor: pointer;
    padding: 12px 16px 6px 14px;
}

.tas-forsystem-compact .editor-html-open {
    cursor: pointer;
    padding: 12px 16px 6px 14px;
}

.tas-forsystem-diff-input {
    color: darkorange !important;
    border-color: darkorange !important;
}

textarea.tas-forsystem-diff-input + div, textarea.tas-forsystem-diff-input + span {
    border-color: darkorange !important;
}

input.tas-forsystem-diff-input[type="checkbox"] {
    outline: 1px solid darkorange !important;
}

.tas-forsystem-diff-td {
    color: darkorange !important;
}

.tas-forsystem-diff-text {
    font-size: 12px;
    color: #B2B2B2;
}

.tas-input-align-right {
    text-align: right;
}

/*Modals*/
.modal-header {
    border: none;
}

.modal-footer {
    border: none;
}

.modal-content {
    border: none;
    border-radius: 4px;
}

/*Navbar overrides*/

.navbar-default {
    background-color: #f1f1f1;
    border: none;
}

.navbar {
    border-radius: 0 !important;
}

.tas-usersoncase-panel {
    margin: 10px 0 50px 0;
    border: none;
    border-radius: 0;
    background: #f1f1f1;
}

.tas-usersoncase-panel-heading {
    border-radius: 0;
    padding: 15px;
}

    .tas-usersoncase-panel-heading h3 {
        padding: 20px 0 10px 0;
        font-weight: bold;
    }

.tas-usersoncase-panel-heading-btn {
    float: right;
}

.tas-usersoncase-panel-body {
    margin: 0 10px 10px 10px;
    padding: 15px 0;
    overflow-x: auto;
}

.tas-resend-invitation-button {
    margin-left: 20px;
}

.tas-resend-invitation-button-disabled, .tas-resend-invitation-button-disabled:hover {
    background-color: #D6D6D6;
    color: #B2B2B2;
    border: 2px solid #D6D6D6;
    cursor: default;
}

/*Input styling*/
a.scroll-to-error-link span {
    display: none;
}

.form-control,
.html-field-printable {
    border-radius: 2px;
    border: 1px solid #B2B2B2;
    padding: 9px 12px;
}

.html-field-infobox {
    border-radius: 2px;
    border: 1px solid #B2B2B2;
    padding: 9px 12px;
}

td .form-control {
    padding: 9px 6px;
}

.form-control:focus,
.cke_focus,
.tas-emulate-input:focus {
    border-color: #B2B2B2;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(120, 39, 139, 1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(120, 39, 139, 1);
}

.input-checkbox:focus {
    border-color: #B2B2B2;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(120, 39, 139, 1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(120, 39, 139, 1);
}

.has-error .input-checkbox:focus {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(87, 0, 2, 1);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 4px rgba(87, 0, 2, 1);
}

.cke_focus.input-validation-error {
    border-color: #b94a48;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #b94a48;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px #b94a48;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control,
.html-field-printable {
    background-color: #E2E2E2;
}

.control-label {
    padding-top: 9px !important;
}

    .control-label.pt-0 {
        padding-top: 0 !important;
    }

th.control-label {
    padding-right: 15px;
}

textarea.form-control {
    height: auto !important;
}

.input-group {
    width: 100%;
}

.input-group-addon {
    width: 50px;
}

.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group {
    border: 1px solid #B2B2B2;
    border-left: 0 !important;
    background-color: #f1f1f1;
    height: 40px !important;
    width: 45px !important;
}

.input-group-addon:last-child {
    border: 1px solid #B2B2B2;
    border-left: 0 !important;
    background-color: #f1f1f1;
    cursor: pointer;
    border-radius: 2px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .form-control {
    border-right: 0;
}

.input-group input:focus ~ .input-group-btn,
.input-group input:focus ~ .input-group-addon {
    border-color: #B2B2B2 !important;
    border-left: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(120, 39, 139, 1) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(120, 39, 139, 1) !important;
}


.has-error span.form-control-feedback {
    color: #DE0004;
    width: 100% !important;
}

.has-error .control-label,
.has-error .input-group-addon {
    color: #333333;
}

.has-error .input-group-addon,
.has-error .input-group-btn .btn,
.has-error .help-block,
.has-error .form-control {
    border: 1px solid #DE0004;
}

    .has-error .form-control:focus {
        border: 2px solid #DE0004;
    }

.has-error .tas-text-ellipsis,
.has-error .tas-text-ellipsis ~ span,
.has-error .tas-text-ellipsis-no-expand,
.validationError {
    color: #DE0004;
}

    .validationError > span {
        white-space: normal;
        word-break: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: right;
    }

.form-control:not(.tas-mimic-textarea-placeholder-input),
select.form-control:not(size),
select.form-control:not(multiple),
input[type=submit],
.modal-footer > .btn,
.tas-create-widget-button {
    height: 40px !important;
}

.form-control.tas-textarea-regular {
    height: auto !important;
}

select[multiple].form-control,
select[size].form-control {
    height: auto !important;
}

.datetimepicker table tr td.active,
.datetimepicker table tr td.active:hover,
.datetimepicker table tr td.active.disabled,
.datetimepicker table tr td.active.disabled:hover {
    background-color: #78278B !important;
    background-image: none !important;
}

.datetimepicker table tr td.today,
.datetimepicker table tr td.today:hover,
.datetimepicker table tr td.today.disabled,
.datetimepicker table tr td.today.disabled:hover {
    background-color: #FFF7C6 !important;
    background-image: none !important;
    color: #333333;
}

.datetimepicker table tr td.day:hover {
    background-color: #C7B8DB !important;
    color: #333333;
}

.cke_chrome {
    border-radius: 2px !important;
    border: 1px solid #B2B2B2 !important;
}

.fileupload-buttonbar .btn {
    margin-bottom: 0 !important;
}

.fileinput-button > i {
    line-height: inherit !important;
}

/* tas-state-highlight is used to hightlight the placeholder when sorting with jquery-ui sortable */
.tas-state-highlight {
    background: #f5f5f5;
}

/* CVR WAIT PAGE */
.tas-sync-wait-statusbar-container {
    background-color: transparent;
}

.tas-sync-wait-statusbar {
    width: 0;
    height: 15px;
    margin-right: 50px;
    background-color: #78278B;
}

.tas-consent-container {
    margin-bottom: 20px !important;
}

.form-control-well {
    background-color: #E2E2E2;
    border: 1px solid #B2B2B2;
    border-radius: 2px;
}

.tas-anonymization-rules-heading-margin {
    margin-top: 10px;
}

.tas-anonymization-rules-first-level {
    margin-left: 15px;
}

.tas-anonymization-rules-second-level {
    margin-top: 5px;
    margin-left: 35px;
}

.tas-anonymization-rules-third-level {
    margin-top: 5px;
    margin-left: 55px;
}

.tas-anonymization-rules.control-label {
    font-weight: normal;
}

.control-label.disabled {
    color: #ccc;
}

.bootstrap-select > .dropdown-toggle {
    height: 40px;
}


/* Information Table */
.table-container {
    padding: 0 10px;
    margin-bottom: 20px;
}

.tas-information-table {
    border-collapse: separate;
    border-spacing: 0 20px;
}

.table-hidden-header > thead > tr {
    height: 1px;
    line-height: 0;
}

    .table-hidden-header > thead > tr > th {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

.dataTables_info {
    text-align: right;
}

.tas-information-table tr {
    background-color: #f1f1f1;
    border-bottom: 2px solid #78278b;
}

table.data-table thead tr th,
table.data-table thead .sorting,
table.data-table thead .sorting_asc,
table.data-table thead .sorting_desc {
    border-bottom: none;
    background: none;
}

table.data-table thead .sorting,
table.data-table thead .sorting_asc,
table.data-table thead .sorting_desc {
    padding-right: 30px;
}

thead .sorting > span,
thead .sorting_asc > span,
thead .sorting_desc > span {
    position: relative;
}

    thead .sorting > span:after,
    thead .sorting_asc > span:after,
    thead .sorting_desc > span:after {
        font-family: "Segoe UI Symbol"; /* This font-family needs to be added for Edge to display correctly */
        content: '\1f781';
        position: absolute;
        right: -22px;
        top: -3px;
        color: #767677;
    }

    thead .sorting > span:before,
    thead .sorting_asc > span:before,
    thead .sorting_desc > span:before {
        font-family: "Segoe UI Symbol"; /* This font-family needs to be added for Edge to display correctly */
        content: '\1f783';
        position: absolute;
        right: -22px;
        bottom: -3px;
        color: #767677;
    }

    thead .sorting_desc > span:before,
    thead .sorting_asc > span:after {
        font-size: 18px;
        color: #000000;
    }

.dataTables_scrollBody thead {
    display: none;
}

thead .sorting_desc > span:after,
thead .sorting_asc > span:before {
    opacity: 0;
}

.dataTables_scroll {
    margin: 0 -10px;
}

.dataTables_scrollHead,
.dataTables_scrollBody {
    padding: 0 10px;
}

    .dataTables_scrollHeadInner,
    .dataTables_scrollHeadInner > table,
    .dataTables_scrollBody > table {
        width: 100% !important;
    }

.tas-information-table tr:focus,
.tas-information-table tr:hover {
    cursor: pointer;
    background-color: #C7B8DB;
}

.tas-information-table thead tr,
.tas-information-table thead tr:hover {
    background-color: transparent;
}

.tas-information-table th {
    font-weight: bold;
    background-color: transparent;
    vertical-align: middle;
}

.tas-information-table > tbody > tr > td {
    padding: 25px 8px !important;
    border-top-width: 0;
    border-bottom: 2px solid #78278b;
}

.tas-information-table tr td:first-child {
    padding-left: 25px !important;
}

.tas-information-table tr td:last-child {
    padding-right: 25px !important;
}

div.dataTables_wrapper {
    min-width: 100%;
    margin: 0 -10px;
}

    div.dataTables_wrapper .top,
    div.dataTables_wrapper .bottom {
        padding: 0 10px;
    }

ul.pagination {
    margin: 0;
}

.dataTables_length select.form-control {
    width: 55px;
    height: 30px !important;
    padding: 3px;
    padding-left: 0px;
    text-align: center;
}

/* Validation dots animation */
div.validating-dots {
    position: relative;
    margin: 30px 0;
    color: #333;
}

    div.validating-dots .dot {
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        margin-right: 3px;
        background: #333333;
        animation: validatingDots 1.3s linear infinite;
    }

        div.validating-dots .dot:nth-child(2) {
            animation-delay: -1.1s;
        }

        div.validating-dots .dot:nth-child(3) {
            animation-delay: -0.9s;
        }

@keyframes validatingDots {
    0%, 60%, 100% {
        transform: initial;
    }

    30% {
        transform: translateY(-4px);
    }
}
/** Media Queries **/

@media (max-width:460px) {
    .tas-usersoncase-panel-heading-btn {
        float: none;
        width: 100%;
    }
}

@media (max-width:575.98px) {
    .no-float-xxs {
        float: none !important;
        display: block;
    }

    .tas-xxs-pull-right {
        float: right !important;
    }

    .tas-xxs-mt-15 {
        margin-top: 15px;
    }

    .tas-responsive-button-transparent {
        width: auto;
        min-width: 120px;
    }

    .tas-activity-overview-btn {
        width: 100%;
    }
}

@media (min-width:1200px) {
    .portal-body .container-fluid {
        width: 90%;
    }

    .tas-px-lg-30 {
        padding: 0 30px;
    }
}

@media (max-width:1199.98px) {
    .tas-header-link-glyph {
        left: -20px;
        padding: 0 15px 0 5px;
    }
}

@media (min-width: 992px) {
    .md-text-right {
        text-align: right;
    }
}

@media (min-width:768px) {
    .container-fixed-top-menu {
        padding-top: 170px;
    }

    .navbar-fixed-top {
        top: 75px;
    }

    .modal-dialog {
        margin-top: 70px;
    }
}

@media (max-width:767.98px) {
    .tas-taskdetails-overview-error-container {
        padding: 20px;
    }

    .dataTables_length select.form-control {
        display: inline-block;
    }

    div.dataTables_length label {
        width: 100%;
        text-align: center;
    }

    div.dataTables_paginate {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .tas-forsystem-table > tbody > tr > th:first-child {
        min-width: 140px !important;
        max-width: 140px !important;
    }

    .tas-complex-header {
        padding-left: 212px;
    }

    .tas-activity-header-container .dl-horizontal {
        width: 100%;
    }

        .tas-activity-header-container .dl-horizontal dd {
            margin-left: 0;
            height: auto;
            padding-bottom: 15px;
        }

    .files .name {
        width: 100% !important;
    }
}
/* Sticky table  */
/* Needs to specifically target immediate children to not mess up up datepicker styling */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.stick-left {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
}

.stickyThHeight {
    z-index: 9901 !important;
    left: 0;
}

.tas-forsystem-container-scroll {
    padding: 0;
}

.tas-forsystem-table > tbody > tr > th h2 {
    margin: 20px 0 8px 0;
}

.tas-forsystem-table > thead > tr > th,
.tas-forsystem-table > thead > tr > td {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9900;
    background-color: #f1f1f1;
}

    .tas-forsystem-table > thead > tr > td:first-child {
        padding: 30px 0 14px 10px;
    }

.tas-forsystem-table.tas-forsystem-table-overview > thead > tr > td:first-child {
    padding: 0;
}

.overflow-active {
    overflow: auto;
}

.input-expand {
    position: relative;
}

    .input-expand input {
        padding-right: 32px;
        text-overflow: ellipsis;
    }

    .input-expand:after {
        content: ' 🗗';
        color: #333;
        font-size: 20px;
        position: absolute;
        top: 6px;
        right: 6px;
        pointer-events: none;
    }

@media (max-width: 420px) {
    .tas-forsystem-container-scroll {
        scroll-padding-left: 140px;
    }

        .tas-forsystem-container-scroll .tas-forsystem-table {
            table-layout: auto;
            min-width: 100% !important;
            width: 100% !important;
        }

    .tas-forsystem-table > tbody > tr > td {
        min-width: 140px;
        max-width: 140px;
    }

    .tas-forsystem-table > tbody > tr > td {
        padding: 6px 9px;
    }

    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .btn-group {
        padding: 6px !important;
    }

    .tas-text-ellipsis.tas-required-label.ellipsis-active {
        padding-right: 9px;
    }

        .tas-text-ellipsis.tas-required-label.ellipsis-active:after {
            right: 2px;
        }

    .tas-taskdetails-overview-container {
        padding: 25px 10px;
    }       
}

.select {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .select select {
        display: inline-block;
        width: 100%;
        cursor: pointer;
        padding: 9px 5px;
        outline: 0;
        border: 1px solid #b2b2b2;
        border-radius: 2px;
        background: #ffffff;
        background: -moz-linear-gradient(right, #f1f1f1, #ffffff 2%);
        background: -webkit-linear-gradient(right, #f1f1f1 45px,#ffffff 2%);
        background: -o-linear-gradient(right, #f1f1f1 45px,#ffffff 2%);
        background: linear-gradient(to left, #f1f1f1 45px,#ffffff 2%);
        color: #555;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        z-index: 2;
        padding-right: 50px;
    }

        .select select:disabled {
            opacity: 1;
            pointer-events: none;
            background: #E2E2E2;
        }

.select_arrow {
    position: absolute;
    top: 14px;
    right: 20px;
    width: 9px;
    height: 9px;
    border: solid #333333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    pointer-events: none;
    z-index: 3;
}

.select select:hover ~ .select_arrow,
.select select:focus ~ .select_arrow {
    border-color: #333333;
}

.select select:disabled ~ .select_arrow {
    border-top-color: #cccccc;
}

/**
Custom scrollbar
**/
.tas-forsystem-container-scroll {
    scrollbar-width: thin;
    scrollbar-color: #9DA0A8 rgba(211, 216, 227, 0.5);
    overflow: auto;
}

    /* Works on Chrome/Edge/Safari */
    .tas-forsystem-container-scroll::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .tas-forsystem-container-scroll::-webkit-scrollbar-track {
        background: rgba(211, 216, 227, 0.5);
    }

    .tas-forsystem-container-scroll::-webkit-scrollbar-thumb {
        background-color: #9DA0A8;
        border-radius: 20px;
    }

    .tas-forsystem-container-scroll::-webkit-scrollbar-corner {
        background: transparent;
    }
/**
Focus outline style
**/
a:focus {
    outline-offset: 2px !important;
}

/**
CLIENT SPECIFIC STYLES
**/
#tab_content .flex-row-space-right {
    display: none;
}

#viewGroupForm .tas-forsystem-simple-container > div:first-child {
    overflow: auto;
}

#viewGroupForm .form-horizontal .form-group {
    width: 99%;
}

.white-bg[readonly] {
    background-color: #fff;
}

.tas-min-file-number-info-text {
    padding-top: 10px
}

.htmlEditorText {
    white-space: normal;
}

/** Complex showing */
.complex-flex {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: stretch;
    align-items: stretch;
    margin-bottom: 10px;
    margin-right: 15px;
}

    .complex-flex > div {
        -webkit-order: 0;
        order: 0;
        -webkit-flex: 0 1 auto;
        flex: 0 1 auto;
        -webkit-align-self: auto;
        align-self: auto;
        width: auto;
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 10px;
    }

/*Forfox*/
@-moz-document url-prefix() {
    .tas-forsystem-table {
        table-layout: auto !important;
    }
}

.tas-pool-list-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

@font-face {
    font-family: 'TAS Icons';
    src: url('../tasicons/tasicons.woff2') format('woff2'), url('../tasicons/tasicons.woff') format('woff'), url('../tasicons/tasicons.ttf') format('truetype');
}

.tasicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'TAS Icons';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tasicon-monthly:before {
    content: "i";
}

.tasicon-quarterly:before {
    content: "j";
}

.tasicon-halfyearly:before {
    content: "l";
}

.tasicon-yearly:before {
    content: "k";
}

.tasicon-all:before {
    content: "a";
}

.tasicon-inherit:before {
    content: "n";
}

.tas-dynamic-rows-add-button {
    vertical-align: bottom;
}

.tas-dynamic-rows-remove-button {
    vertical-align: bottom;
    padding: 5px 6px 5px 5px;
    
}


.tas-forsystem-title-col {
    width: 250px;
}

.tas-forsystem-value-col-fixed-width {
    width: 200px;
}

.tas-forsystem-value-col-full-width {
    width: 100%;
}

.mit-id-logo {
    height: 32px;
    margin-bottom: 16px;
    max-width: 100%;
}

.bank-id-logo {
    height: 64px;
    margin-bottom: 16px;
    max-width: 100%;
}

.bank-id-button-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    max-width: fit-content;
}

.bank-id-button-container-cancel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bank-id-button-container > button {
    text-align: left;
    max-width: fit-content;
}

.bank-id-button-container > label {
    text-align: center;
}

#bank-id-qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
}

#bank-id-progress {
    display: block;
    flex-direction: column;
    align-items: center;
}

div.tasDataTables_info {
    padding-top: 8px;
    white-space: nowrap;
    text-align: right;
}

div.tasDataTables_paginate {
    float: right;
    margin: 0;
    margin: 0;
    white-space: nowrap;
    text-align: right
}

div.tasDataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap
}

div.tasDataTables_length label {
    float: left;
    text-align: left;
    text-align: left;
    white-space: nowrap
}

div.tasDataTables_length select {
    width: 75px;
    display: inline-block
}

.tasDataTables_length select.form-control {
    width: 55px;
    height: 30px !important;
    padding: 3px;
    padding-left: 0px;
    text-align: center;
}

@media screen and (max-width: 767px) {
    div.tasDataTables_info, div.tasDataTables_length, div.tasDataTables_paginate {
        text-align: center
    }
}

@media (max-width:767.98px) {
    div.tasDataTables_paginate {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .tasDataTables_length select.form-control {
        display: inline-block;
    }

    div.tasDataTables_length label {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .modal-xlg {
        width: 1350px;
    }
}

.tas-search-highlight {
    background-color: #ffff00;
    color: black;
}

.default-cursor {
    cursor: default !important;
}

.expand-collapse-btn {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Collapsed state */
.expand-collapse-btn[aria-expanded="false"] .icon-collapse-arrow:before {
    content: "\25BC"; /* Down arrow */
    display: inline-block;
    transform: scaleY(0.6);
}

/* Expanded state */
.expand-collapse-btn[aria-expanded="true"] .icon-collapse-arrow:before {
    content: "\25B2"; /* Up arrow */
    display: inline-block;
    transform: scaleY(0.6);
}