html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
}
body {
    font-family: 'sofiasans';
    background-color: var(--grey-scale-background);
    color: var(--grey-scale-primary);
    font-size: 14px;
    line-height: 24px;
}
p, .alert{
    white-space: normal;
    margin: 0;
}

h4{
    font-weight: 800;
}

h5, h6{
    font-weight: 700;
}

.hidden{
    display: none;
}

.float-right{
    float:right;
}
.float-left{
    float: left;
}


.container{
    padding: 40px 80px;
}
a{
    color: var(--interaction-main);
    text-decoration: underline;
}
a:hover{
    color: var(--interaction-highlight);
}
.deactivated{
    color: var(--grey-scale-medium) !important;
    text-decoration: none;
    cursor: default;
}

.container-xxl{
    max-width: 100%;
    padding: 40px ;
    height: 90%;
}

.container h2{
    margin-top: 20px;
    margin-bottom: 20px;
}

.navbar{
    padding: 0px 40px 0px 40px;
    color: var(--grey-scale-secondary);
    font-size: 20px;
}

.navbar .nav-item{
    margin-left: 16px;
}
.navbar-light .navbar-brand,
.navbar-light .navbar-text {
    color: var(--grey-scale-secondary);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--grey-scale-primary);
    border-bottom: 3px solid white;
    font-weight: 700;
}
.navbar-light .nav-item .nav-link.active, .navbar-light .nav-item:focus .nav-link, .navbar-light .nav-item:hover .nav-link {
    color: var(--grey-scale-primary);
    border-bottom: 3px solid var(--primary);
}
.navbar-light .nav-item .nav-link.menu_user_dropdown_link{
    color: var(--grey-scale-primary);
    font-size: 16px;
    border: 0;
}
.navbar-light .nav-item .nav-link.menu_user_dropdown_link i{
    color: var(--primary);
}
.navbar-light .navbar-nav .nav-link#menu_dashboard img{
    margin-top: -3px;
}
.navbar-light .nav-item .nav-link.menu_user_dropdown_link:hover{
    border: 0;
}


.clickable-row, .clickable, .pointer {
    cursor: pointer;
}

table.bordered_table td, table.bordered_table th{
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
    padding: 10px;
}




#budgetChart{
    display: none;
}


.help{
    cursor: help;
}

.header-logo{
    width: 60px;
}


.padding-vertical-s{
    padding-bottom: 8px;
    padding-top: 8px;
}

.clear-left {
    clear: left!important;
}

.clearfix{
    clear: both;
}
ul {
    list-style-type: none;
}

select.highlighted{
    border: 1px solid var(--primary);
}

.card_outer{
    /*border: 1px solid #ddd;*/
    border-radius: 5px;
    margin-right: 30px;
    margin-bottom: 30px;
    min-height: 200px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 5%);
    background-color: white;
}

.card_inner{

}
.card_inner_top{
    padding: 24px 24px 0;
    align-items: flex-start;
}
.card_inner_bottom{
    padding: 0px 24px 16px 24px;
}

.card_inner_bottom hr {
    background-color: #bbb;
    min-height: 1px;
    width: 100%;
    margin: 0;
    border: 0;
}

.card_inner_bottom_content{
    padding-top: 20px;
    padding-bottom: 8px;
    align-items: center;
}
.card_inner_bottom_content ul{
    list-style-type: initial;
    padding-left: 15px;
    white-space: normal;
}



/*  ------------------------------------ */
/*                  Insolvenz-Radar               */




.year-picker, .interval-picker, .region-picker, input#yearly-budget{
    min-width: 150px;
    width: 15%;
}

#input_total_budget{
    width: 300px;
}
input.form-control{
    width: unset;
}

input.input-campaign-abs{
    float: left;
    width: 80px;
}

.modal input, .modal select{
    display: block;
}

.side_navi_year.active{
    font-weight: bold;
}

.dropdown-ankor, #display_options_ankor{
    cursor: pointer;
    color: var(--primary);
    border:1px solid transparent;
    width: fit-content;
    padding-left: 5px;
    padding-right: 10px;
    border-radius: 4px;
    z-index: 101;
    position: relative;
}


.dropdown-ankor.active{
    /*
    border: 1px solid var(--grey-scale-medium);
    border-width: 1px 1px 1px 1px;

    border-bottom-color: white;
    */
    border-radius: 4px 4px 0px 0px;
    background-color: white;

}
.dropdown-ankor.active:hover{
    border-color: white;
}
.dropdown-ankor:hover{
    border: 1px solid var(--grey-scale-medium);
}

.dropdown{
    position: absolute;
    z-index: 100;
    padding: 10px 0 10px 0;
    background-color: white;
    /*
    border: 1px solid var(--grey-scale-medium);
    border-radius: 0px 4px 4px 4px;

     */
    box-shadow: 0px 0px 32px rgba(106, 11, 86, 0.32);
    display: none;
    width: 250px;
    margin-top: -1px;
}
.dropdown .dropdown-element{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.dropdown .dropdown-element a{
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    width: 100%;
}
.dropdown .dropdown-element span.hoverable{
    margin-left: 32px;
    display: block;
    width: 100%;
    cursor: pointer;
}

.dropdown .dropdown-element:hover{
    background-color: var(--grey-scale-background);
}

.dropdown-element.dropdown-element-headline{
    font-weight: bold;
}
.dropdown-element.dropdown-element-headline:hover{
    background-color: white;
}

.dropdown#settings-dropdown{
    right: 6px;
}
img.options-icon{
   width: 16px;
}

.dropdown#sidebar_dropdown{
    border-radius: 4px 4px 4px 4px;
    #padding:10px;
    width: 250px;
}
.dropdown#sidebar_dropdown .sidebar_dropdown_element{
    padding:10px;
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.dropdown#sidebar_dropdown .sidebar_dropdown_element#delete{
    color: var(--communication-critical);
}

.dropdown#sidebar_dropdown #delete{
    border-top: 1px solid var(--grey-scale-light);
    padding: 6px 8px 2px;
}

#menu_user_dropdown_ankor{
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: var(--grey-scale-primary);
    border-radius: 50px;
    border: 1px solid transparent;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

#menu_user_dropdown{
    background-color: white;
    position: absolute;
    right: 4px;
    width: 140px;
    margin-top: 8px;
    display: none;
    border: 1px solid var(--grey-scale-medium);
    border-radius: 4px;z-index: 1000;
    box-shadow: 0px 0px 32px rgba(106, 11, 86, 0.32);
}


.dropdown-divider {
    display: block;
    height: 0;
    margin: 4px 0;
    border-top: 1px solid var(--grey-scale-medium);
}

#menu_user_dropdown::after {
    top: -14px;
    right: 8px;
}
#menu_user_dropdown::after {
    border: 7px solid transparent;
    border-bottom-color: var(--grey-scale-medium);
}
#menu_user_dropdown::before, #menu_user_dropdown::after {
    position: absolute;
    content: "";
}

@media (min-width: 360px){
    .container{
        max-width:100%;
        padding: 10px;
    }
}

@media (min-width: 576px){
    .container{
        max-width:100%;
        padding: 10px;
    }
}

@media (min-width: 768px){
    .container{
        max-width:100%;
        padding: 10px;
    }
}

@media (min-width: 992px){
    .container{
        max-width:100%;
        padding: 40px 80px;
    }
    .dashboard-column{
        float: left;
        width: 50%;
    }
}
@media (min-width: 1200px){
    .container{
        max-width:100%;
        padding: 40px 80px;
    }
    .dashboard-column{
        float: left;
        width: 50%;
    }
}
@media (min-width: 1400px){
    .container{
        max-width:100%;
        padding: 40px 80px;
    }
    .dashboard-column{
        float: left;
        width: 33.3333333%;
    }
}

.dashboard-column{
    min-height: 250px;
    height: auto;
    list-style: none;
}

.dashboard-column .currency{
    font-size: 24px;
}

#costCellInfo, #popup{
    display:none;
    position: absolute;

    z-index: 100;
    background-color: white;
    padding: 30px;
    min-width: 300px;
    justify-content: center;
    align-items: center;
    background: hsla(0, 0%, 0%, .8);
    border-radius: 4px;
    border-color: hsla(0, 0%, 100%, .2);
    color: white;

}

#closePopup:before{
    display: inline-block;
    content: "\00d7"; /* This will render the 'X' */
    position: absolute;
    top: 2px;
    right: 10px;
    cursor: pointer;
}

#costCellInfo .intervalEntry:last-child{
    margin-bottom: 40px;
}

#costCellInfo #costCellInfoAddBtn{
    margin-top: 30px;
}

.quick-action{
    width: 22%;

}
.quick-action p{
    margin: 0;
    padding: 0;
}
.quick-action p a{
    text-decoration: none !important;
    color: black;
    #font-size: 12px;
white-space: normal;
    margin: 0;
    padding: 0;
    line-height: normal;
}


.jconfirm-content{
    white-space: normal;
}

#controls{
    position: relative;
}
#controls .control_element{
    position: absolute;
}
#controls .control_element .form-check-input{
    width: 40px;
    height: 24px;
    margin-top: 0;
    margin-right: 5px;
}

.billing_information_vat{
    display: none;
}

input[type="checkbox"] {
    accent-color: var(--primary);

}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}


.type-container{
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    background-color: white;
    border: 1px solid var(--grey-scale-medium);
    border-radius: 0px 4px 4px 4px;
    box-shadow: 0px 0px 32px rgba(106, 11, 86, 0.32);
    margin: 20px;

}
.type-container:empty {
    /* first element might be empty */
    display: none;
}

.type-container .deleteContainer{
    position: absolute;
    top: 12px;
    right: 8px;
    color: var(--primary);
    cursor: pointer;
}

#overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(51, 51, 51, 0.6);
    z-index: 1000;
    display: none;
}
#overlay_content{
    position: fixed;
    min-width: 300px;

    padding: 32px;
    background: #FFFFFF;
    box-shadow: 0px 0px 32px rgba(106, 11, 86, 0.32);
    border-radius: 16px;
    z-index: 1001;
    display: none;
}
#overlay_content #overlay_close{
    width: 12px;
    height: 12px;
    position: absolute;
    right: 16px;
    top: 16px;
    cursor: pointer;
}
#loader{
    margin-top: 8px;
    margin-left: 8px;
    display: none;
}

.ly-container{
    border-radius: 4px;
    Padding: 32px 40px 40px 40px;
    background-color: #FFFFFF;
    box-shadow: 0px 1px 4px rgba(106, 11, 86, 0.06), 0px 2px 6px rgba(106, 11, 86, 0.04);
    margin-bottom: 16px;
    white-space: normal;
    width: 680px;
}

img.hint{
    margin-top: -3px;
}
.nav-tabs {
    border-bottom: 1px solid var(--grey-scale-medium);
}
.ly-tabs{
    font-size: 16px;
}
.ly-tabs li.nav-item{

}
.ly-tabs li.nav-item button{
    background-color: inherit;
    border: 0;
    border-bottom: 0;
}
.ly-tabs li.nav-item button:hover{
    border: 0;
    color: var(--grey-scale-primary);
    border-bottom: 3px solid var(--primary);
}
.ly-tabs li.nav-item button.active{
    border-bottom: 3px solid var(--primary);
    font-weight: 700;
    background-color: inherit;
}

table.ly-table td.region{
    font-size: 24px;
    font-weight: 800;
    line-height: 32px;
}
table.ly-table td.department{
    font-size: 20px;
    font-weight: 800;
    line-height: 32px;
    padding-left: 16px;
}
table.ly-table td.costcenter{
    font-size: 16px;
    font-weight: 800;
    line-height: 24px;
    padding-left: 32px;
}
table.ly-table td.costcenter-item{
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    padding-left: 48px;
}

input[type="radio"].ly-radio{
    width: 24px;
    height: 24px;
    border: 2px solid var(--grey-scale-secondary);
    border-radius: 50px;
    padding: 0;
    background: #FFFFFF;
}

input[type="radio"].ly-radio:checked {
    accent-color: var(--primary);
}
.plan-name, .plan-price{
    font-size: 40px;
    font-weight: 900;
    line-height: 56px;
    text-align: center;
}
.plan-price{

}
.plan-price-info{
    font-size: 14px;
    font-weight: 400;
    color: var(--grey-scale-secondary);
    height: 48px;
}

ul.ly-list{
    list-style-image: url('../img/icons/check.svg');
}


.tooltip-inner {
    max-width: 800px !important;
}

.widget{
    position: relative;
}

.widget .close{
    position: absolute;
    right: 8px;
    top: 8px;
    width: 8px;
    cursor: pointer;
}

#streethp{
    height: 0.5px;
    border: none;
    float: left;
    background: transparent;
}
.integration-type{
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    border-radius: 4px;
    padding: 0 8px;
    max-width: 100%;
    height: 20px;
    box-sizing: border-box;
    color: white;
    line-height: 20px;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.integration-type.integration-type-oauth{
    background-color: lightgreen;
    border-color: lightgreen;
}
.integration-type.integration-type-token{
    background-color: lightpink;
    border-color: lightpink;
}
.integration-type.integration-type-bot{
    background-color: lightyellow;
    border-color: lightyellow;
}
img.ajaxloader{
    position: absolute;
    margin: auto;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
}

#header_notifications{

}

#header_notifications_number{
    height: 22px;
    width:  22px;
    background-color: #d63031;
    border-radius: 20px;
    color: white;
    text-align: center;
    position: absolute;
    top: -8px;
    left: 10px;

    border-style: solid;
    border-width: 2px;
    font-size: 12px;
}

#header_notifications_number:empty {
    display: none;
}

#header_notifications #bell{
    font-size: 25pt;
    cursor: pointer;
}
#header_notifications #bell:hover {
    color: #d63031;
}

#header_notifications #messages{
    position: absolute;
    right: -90px;
    padding: 10px;
    background-color: white;
    border: 1px solid var(--grey-scale-medium);
    border-radius: 0px 4px 4px 4px;
    box-shadow: 0px 0px 32px rgba(106, 11, 86, 0.32);
    min-height: 200px;
    width: 400px;
    z-index: 1000;
    white-space: normal;
    font-size: 12px;color: var(--grey-scale-primary);
    display: none;
}
#header_notifications #messages .notification-container{
    height: 70px;
    overflow: hidden;
}


#header_notifications #messages .notification-container:hover{
    background-color: var(--grey-scale-background);
}
#header_notifications #messages .notification-container .notification-user{
    float: left;
    margin-right: 10px;
    margin-top: 3px;
    width: 40px;
    height: 40px;
    background-color: var(--grey-scale-primary);
    border-radius: 50px;
    border: 1px solid transparent;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    text-transform: uppercase;
    font-size: 20px;

}
#header_notifications #messages .notification-container .notification-date {
    color: var(--grey-scale-secondary);
}

#messages #messages_head{
    float: left;
    margin-bottom: 8px;
    margin-right: 20px;
}
#messages #messages_control{
    margin-top: 8px;
}
.dropdown-menu{
    padding-left: 10px;
}

.dropdown-menu li input[type="checkbox"]{
    margin-right: 8px;
}
.gericht-list-item{
    display: none;
}
.badge-new{
    background-color: var(--communication-success);
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
}