html {
    height: 100%;
    margin: 0;
    /*overflow: hidden !important;*/
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #888 #f1f1f1; /* Firefox */
}

/* Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    padding-top: 0px;
    padding-bottom: -20px;
    margin: 0 auto;
    background: url('/img/bg/geometry.jpg') no-repeat fixed center;
    background-size: cover;
    font-family: Verdana, Helvetica, "sans-serif";
    font-size: medium;
    min-width: 950px;
    height: 100%;
}

label {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    color: #0080b5;
    text-decoration: underline;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.2em;
}

h5 {
    font-size: 16px;
}

h5,
h4,
h3,
h2,
h1 {
    color: #000;
    margin: 0.5em 0;
}

input[type="submit"],
button[type="submit"] {
    cursor: pointer;
}

input[type="number"] {
    text-align: right;
}

input.error,
select.error {
    border: 1px solid #ff0000;
}

select.invalid,
select:required:invalid,
select:focus:invalid,
input.invalid,
input:required:invalid,
input:focus:invalid,
textarea:required:invalid,
textarea:focus:invalid {
    border: 1px solid #ff0000;
    background-image: url(../img/icon/validation_invalid.png);
    background-position: 99% 50%;
    background-repeat: no-repeat;
    padding-right: 25px;
}

select.valid,
select:required:valid,
textarea.valid,
textarea:required:valid,
input.valid,
input:required:valid {
    background-image: url(../img/icon/validation_valid.png);
    background-position: 99% 50%;
    background-repeat: no-repeat;
    padding-right: 25px;

}

select.valid,
select:required:valid,
select.invalid,
select:required:invalid,
select:focus:invalid {
    background-position: 95% 50%;
    padding-right: 25px;
}


textarea:required:invalid,
textarea.invalid,
textarea.valid,
textarea:required:valid {
    background-position: 99% 1%;
}


/* class specific rules */
.i {
    font-style: italic;
}

.b {
    font-weight: bold;
}

.line-trough {
    text-decoration: line-through;
}

.right {
    float: right;
}

.left {
    float: left;
}

.center {
    text-align: center;
}

.clear {
    clear: both;
}

.clear-right {
    clear: right;
}

.clear-left {
    clear: left;
}

.cursor-move {
    cursor: move;
}

.errorNote {
    color: #fff;
    background-color: #FF6A6A;
    border: 2px #FF0000 solid;
    padding: 1%;
    margin-bottom: 1%;
}

.errorNote.hasIcon span {
    display: block;
    width: 32px;
    height: 32px;
    float: left;
    margin-right: 1em;
    background-repeat: no-repeat;
    background: transparent;
    background-image: url('/img/action_icons.png');
    background-position: -32px -32px;
}

.errorNote.hasIcon div {
    float: left;
}

.errorNote table {
    color: #000;
}

.successNote {
    border: 3px solid rgb(140, 197, 64);
    padding: 0.5em;
    margin-bottom: 0.5em;
}

.successNote span.glyphicons {
    display: block;
    float: left;
    margin-right: 1em;
}

.hint {
    padding: 1%;
    border: 1px solid #000;
    margin-bottom: 1%;
    background-color: gold;
    font-weight: bold;
}

.margin-top-1 {
    margin-top: 1em;
}

div.pageHintBox {
    padding: 1%;
    border: 1px solid #000;
    margin-bottom: 1%;
    background-color: gold;
    font-weight: bold;
    min-height: 80px;
}

div.pageHintBox.errorNote {
    color: #fff;
    background-color: #FF6A6A;
    border: 2px #FF0000 solid;
}

div.pageHintBox span.glyphicons {
    float: left;
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    margin-right: 1em;
}

div.addresses .dummy, div.email_addresses .dummy, div.bank_accounts .dummy {
    display: none;
}

/* button */

.ui-dialog .button,
.ui-dialog .btn,
.btn,
.button {
    font-size: 14px;
    white-space: nowrap;
    margin: 0px 5px 2px 0px;
    padding: 3px 0.5em;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
}

.ui-dialog .button,
.btn.btn-primary,
.button {
    color: #fff;
    border: 1px solid #00a4e8;
    border-radius: 4px;
    background: #0080b5;
    background: -webkit-linear-gradient(#00a4e8, #0080b5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#00a4e8, #0080b5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#00a4e8, #0080b5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#00a4e8, #0080b5); /* Standard syntax */
    cursor: pointer;
}

.ui-widget-content a.btn {
    color: #000;
}

.ui-widget-content a.btn.btn-primary,
.ui-widget-content a.button {
    color: #fff;
}

.ui-widget-content a.button.grey {
    color: #000;
}

.ui-dialog .button span.text,
.button span.text {
    padding-top: 0.4em;
    display: inline-block;
}

.ui-dialog .button:hover a,
.button:hover a,
.ui-dialog .button:hover,
.button:hover {
    color: #fff;
    text-decoration: none;
}


.ui-dialog .button .ui-icon.float-left,
.button .ui-icon.float-left {
    float: left;
    margin-right: 0.5em;
}

.ui-dialog .button.defaultCursor,
.button.defaultCursor {
    cursor: default;
}

.ui-dialog .button:hover,
.button:hover {
    background: #0080b5;
    background: -webkit-linear-gradient(#00a4e8, #0080b5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#00a4e8, #0080b5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#00a4e8, #0080b5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#00a4e8, #0080b5); /* Standard syntax */
}

.ui-dialog .button.grey,
.button.grey {
    background: #bbb;
    background: -webkit-linear-gradient(#ccc, #bbb); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#ccc, #bbb); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ccc, #bbb); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ccc, #bbb); /* Standard syntax */
    line-height: 18px;
    border-color: #bbb;
    color: #000;
}

.ui-dialog .button.grey:hover,
.button.grey:hover {
    background: #ccc;
    background: -webkit-linear-gradient(#eee, #ccc); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#eee, #ccc); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#eee, #ccc); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#eee, #ccc); /* Standard syntax */
}

.ui-dialog .button.button-center,
.button.button-center {
    display: block;
    min-width: 20%;
    max-width: 50%;
    text-align: center;
    margin: 1% auto;
}

.ui-accordion h4 {
    margin-bottom: 0;
}

.ui-accordion div.ui-accordion-content {
    height: auto;
}

.button[disabled] {
    cursor: not-allowed;
}

.button.button-icon span.ui-icon {
    float: left;
}

.button.button-icon span.text {
    float: left;
    margin-left: 10px;
}

.button .ui-icon {
    background-image: url(/img/jquery-ui/ui-icons_ffffff_256x240.png);
}

.btn .glyphicons {
    font-size: 0.8em;
    line-height: 0.6em;
    margin-right: 0;
}

.actionIcon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background: transparent;
    background-image: url('../img/icon/action.png');
}

.actionIcon.edit {
    background-position: -32px 0px;
}

.actionIcon.activate {
    background-position: 0px -32px;
}

.actionIcon.delete {
    background-position: 0px 0px;
}

.actionIcon.alert {
    background-position: -32px -32px;
}

.actionIcon.okay,
.actionIcon.apply {
    background-position: -64px 0px;
}

.actionIconSmall {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background: transparent;
    background-image: url('../img/icon/action_small.png');
}

.actionIconSmall.delete {
    background-position: 0px 0px;
}

.actionIconSmall.personDetail {
    background-position: -16px 0px;
}

.actionIconSmall.edit {
    background-position: -32px 0px;
}

.actionIconSmall.add {
    background-position: -48px 0px;
}

.actionIconSmall.arrowRight {
    background-position: 0px -16px;
}

.actionIconSmall.arrowDown {
    background-position: -16px -16px;
}

.actionIconSmall.arrowLeft {
    background-position: -32px -16px;
}

.actionIconSmall.arrowUp {
    background-position: -48px -16px;
}

.actionIconSmall.save {
    background-position: -16px -32px;
}

.actionIconSmall.saveBlack {
    background-position: 0px -32px;
}


/* layout elements */
#greenline {
    width: 100%;
    height: 5px;
    margin: 0px;
    background: #0080b5;
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
}

#wrapper {
    height: 100vh;
    /*overflow: hidden;*/
    padding-top: 5px;
}

/* LEFT PANEL */
#w_left {
    top: 5px;
    left: 0px;
    width: 100px;
    height: 100vh;
    float: left;
    margin: 0px;
    padding: 0px;
    background: #333333;
    border: none;
    position: fixed;
}

#w_left_separator {
    width: 100%;
    height: 2px;
    margin: 0px;
    margin-bottom: 5px;
    background: url('../img/bg/separator.png') repeat;
}

#logo {
    padding-top: 5px;
}

#logo a {
    background-image: url('../img/logo_inosales.png');
    width: 90%;
    height: 90px;
    display: block;
    background-size: 100% auto;
    background-repeat: no-repeat;
    margin: 0px auto;
}

#menu {
    width: 100%;
    /*height: 85%;*/
    /*height: calc(100% - 102px);*/
    padding: 0;
    overflow-x: hidden;
    white-space: nowrap;
}

#menu ul {
    list-style: none;
    padding-left: 0px;
}

#menu a {
    color: #fff;
    padding: 0.5em;

}

#menu > ul > li {
    display: block;
}

#menu > ul > li.divider hr {
    margin-bottom: 10px;
    margin-top: 10px;
}

#menu > ul > li:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

#menu > ul > li.has-submenu a {
    cursor: default
}

#menu > ul > li a {
    display: block;
    text-decoration: none;
}

#menu > ul > li a span.text {
    font-size: 0.8em;
    min-width: 50px;
    display: block;
    overflow: hidden;
}

#menu ul li img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
}

#menu ul li.submenu-active::after,
#menu ul li.active::after {
    position: relative;
    float: right;
    min-height: 25px;
    height: 30%;
    width: 12%;
    content: url('../img/icon/arrow/arrow3.png');
    z-index: 99;
    margin-top: -30px;
}


#menu ul li.submenu-active::after {
    content: url('../img/icon/arrow/arrow3_blue.png');
}

#menu ul li.active ul,
#menu ul li:hover ul {
    display: block;
}

#menu ul li div.submenu {
    display: none;
}

#menu span.menu_icon {
    display: block;
    width: 50px;
    height: 50px;
    background-size: auto 50px;
    background-image: url('../img/icon/sprite_menu.png');
    background-repeat: no-repeat;
}

#menu span.menu_icon {
    display: none;
}

#menu span.menu_icon.home {
    background-position: 0px -350px;
}


#menu span.menu_icon.accounting {
    background-position: 0px 0px;
}

#menu span.menu_icon.product,
#menu span.menu_icon.hardware {
    background-position: -50px 0px;
}

#menu span.menu_icon.commission {
    background-position: -100px 0px;
}

#menu span.menu_icon.status {
    background-position: -150px 0px;
}

#menu span.menu_icon.salespartner {
    background-position: -200px 0px;
}

#menu span.menu_icon.rights {
    background-position: -250px 0px;
}

#menu span.menu_icon.provider {
    background-position: -300px 0px;
}

#menu span.menu_icon.home,
#menu span.menu_icon.index {
    background-position: -350px 0px;
}

#menu span.menu_icon.user,
#menu span.menu_icon.employee {
    background-position: -400px 0px;
}

#menu span.menu_icon.admin,
#menu span.menu_icon.settings {
    background-position: -450px 0px;
}

#menu span.menu_icon.contract {
    background-position: -500px 0px;
}

#menu span.menu_icon.customer {
    background-position: -550px 0px;
}

#menu span.menu_icon.tariff {
    background-position: -600px 0px;
}

li.divider {
    background-color: white;
    height: 1px;
    margin: 0.5rem 0;
}

body > div.submenu {
    position: absolute;
    background-color: #fafafa;
    border-color: #0080b5;
    border-width: 2px;
    border-style: solid;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 3px 3px 12px #585858;
}

body > div.submenu ul {
    padding: 1em;
    list-style: none;
}

body > div.submenu ul li hr {
    margin: 5px 0px;
    border-color: #0080b5;
}

/*RIGHT PANEL*/


#w_right {
    height: 100%;
    float: right;
    width: 90%;
    width: calc(100% - 100px);
    margin: 0;
    padding: 0px 10px 0px 15px;
}

/* START header */

#topPanel {
    height: 30px;
    width: 100%;
    margin: 0px auto 20px;
    padding: 0 auto;
    text-transform: uppercase;
    font-size: 16px;
}

#topPanel div {
    float: left;
}

#content {
    /*height: calc(100% - 50px);*/
    height: 90%;
}

#topPanel div#loadingTop {
    display: block;
    height: 30px;
    width: 16px;
    float: right;
    margin: 0 1em;
    padding-top: 0.2em;
}

#topPanel div.neu a {
    display: block;
    float: left;
    width: 1em;
    padding-top: 0.25em;
    text-align: left;
    text-decoration: none;
}

#loadingTop img {
    display: none;
}

#loadingTop.active img {
    display: inline-block;
}

#breadcrumb {
    margin: 5px 20px 0px 0px;
    padding-bottom: 20px;
    width: 30%;
}

#menuSearch {
    width: 24%;
    height: 100%;
    float: left;
    margin-right: 1%;
}


#menuSearchQ {
    width: 80%;
    width: calc(100% - 30px);
    margin-top: 7px;
    border-radius: 1px;
    padding: 0px;
    height: 20px;
}

#menuSearchBtn {
    height: 20px;
    float: right;
    margin-top: 7px;
    padding-top: 0px;
}

#topPanel #userName {
    width: 15%;
    height: 100%;
    padding: 0px 5px 0px 5px;
    text-transform: none;
    float: right;
}

#topPanel #userName p {
    cursor: pointer;
}

#topPanel #userName p:before {
    position: relative;
    top: 3px;
    content: url('../img/icon/key.png');
    padding: 0px 5px 0px 0px;
}

#userName:hover #usermenu ul {
    display: block;
}

#usermenu ul {
    display: none;
    position: relative;
    margin: 0px 0px -20px 0px;
    padding: 0px 10px 10px 10px;
    text-decoration: none;
    text-transform: none;
    list-style-type: none;
    border-top: 4px solid #0080b5;
    border-bottom: 1px solid #fff;
    background: #E5E5E5;
    background: -webkit-linear-gradient(#F3F3F3, #E5E5E5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#F3F3F3, #E5E5E5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#F3F3F3, #E5E5E5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#F3F3F3, #E5E5E5); /* Standard syntax */
    box-shadow: 0px 5px 12px #585858;
    border-radius: 3px;
    text-decoration: none;
    text-shadow: 0px 1px 1px #fff;
    color: #000;
    z-index: 100 !important;
}

#usermenu ul:before {
    position: relative;
    top: -18px;
    left: 50px;
    content: url('../img/icon/arrow/up_blue.png');
}

#usermenu ul li.first {
    margin-top: -0.5em;
}

#usermenu ul p {
    display: inline;
}

#usermenu ul a {
    display: block;
    padding: 3px;
}

#usermenu ul a:hover {
    outline: none;
}

#logout {
    background-image: url('../img/icon/logout_blue.png');
    background-repeat: no-repeat;
    width: 52px;
    height: 30px;
    float: right;
}

div.workflowBar {
    margin-bottom: 1em;
    display: flex;
}

div.workflowBar ul {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
}

div.workflowBar ul li {
    float: none !important;
    display: flex;
    align-items: center;
}

div.workflowBar ul li.ui-tabs-anchor.divider {
    border-width: 0;
    border-radius: 4px;
    background: none;
    color: #0080b5;
    padding: 0.5em 0.4em;
    font-weight: bold;
    display: flex;
    align-self: center;
}

div.workflowBar ul li.ui-tabs-anchor.done a {
    color: #fff;
}

div.workflowBar ul li.ui-tabs-anchor.heading {
    background: none;
    color: #000;
    border-width: 0px;
    padding-right: 10px;
}

div.workflowBar.contentTabs {
    height: auto;
}

#content > form {
    height: 100%;
}

#content > div.row {
    height: 100% !important;
}

#content > form.height-auto {
    height: auto;
}


body.dashboard.has-header #content #dashboard_wrapper.row {
    height: 80%;
    height: calc(100% - 50px);
}

#content div.row.height-auto,
#content div.row > div.height-auto {
    height: auto !important;
}

.boxContainer {
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.box {
    flex: 1 1 calc(33.333% - 1%);
    padding: 1%;
    margin-bottom: 25px;
    border-style: solid;
    border-color: #333;
    border-width: 1px;
    border-top-width: 5px;
    background: url('../img/bg/box.png') repeat;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /*height: calc(98% - 8px);*/
}

.box.height-50 {
    height: calc(50% - 8px);
}

@media (max-width: 768px) {
    .box {
        flex: 1 1 100%;
        height: auto;
    }
}

.box .box {
    height: 99%;
    height: calc(100% - 8px);
    margin-top: 0px;
    margin-bottom: 0px;
}

.box.height-auto {
    height: auto !important;
}

.box .multiboxes .box {
    margin: 0px 1% 1% 0px;
}

body.index .boxes {
    height: 100%;
}

body.index .boxes .row {
    min-height: 33%;
}

body.index .boxes .row .col-md-6,
body.index .boxes .row .col-md-4,
body.index .boxes .row .col-md-3,
body.index .boxes .row .box,
body.index .boxes .row .box_inner {
    height: 100% !important;
}

.box.box-height-25 {
    height: 22%;
    height: calc(23% - 8px);
    margin-bottom: 1%;
}

.box.box-height-50 {
    height: 48%;
    height: calc(49% - 8px);
    margin-bottom: 1%;
}

#content > form.has-button_line > div.top {
    height: 90%;
    height: calc(99% - 50px);
}

.box_inner {
    width: 100%;
    margin: 0px;
    /*overflow: hidden;*/
    height: 100%;

}

.box_inner label {
    display: block;
    padding: 0.25em 0em;
    margin-bottom: 0.3em;
    clear: both;
}

.box_inner label:hover {
    /*background-color: #e5e5e5;*/
}

.box_inner fieldset {
    border: none;
    padding: 0px;
    margin: 0px;
}

.box_inner label span {
    float: left;
    display: block;
    width: 40%;
    margin: 0% 5% 0% 2%;
    line-height: 1em;
    height: 2em;
    text-align: right;
}

.box_inner label span.value {
    text-align: left;
}

.box_inner label span.hint {
    font-size: 0.8em;
    padding: 0px;
    width: 50%;
    margin: 0px 0px 0.5em;
}

.box_inner fieldset legend {
    margin: 0% 5% 5% 0%;
    float: none;
    width: 100%;
}

.box_inner fieldset label {
    display: block;
    margin-left: 0px;
    text-align: left;
}


.box_inner fieldset label input[type="radio"],
.box_inner fieldset label input[type="checkbox"] {
    width: auto;
    margin-left: 0px;
    margin-right: 5%;
}

.box_inner input,
.box_inner textarea,
.box_inner select {
    width: 50%;
    margin: 0.25em 0em;
}

.box_inner label input[type="radio"],
.box_inner label input[type="checkbox"] {
    width: auto;
    margin-left: 0px;
}

.box_inner .successNote {
    width: 97%;
}


/* result list */
div.resultList {
    display: table;
    width: 100%;
    width: calc(100% - 2px);
}

div.resultItem {
    /*border: 1px solid #000;*/
    padding: 5px;
    height: 40px;
    display: table-row;
    width: auto;
    clear: both;
}

div.resultListHeading {
    height: 20px;
    display: table-row;
    table-layout: fixed;
    width: auto;
    clear: both;
    background: #00a4e8;
    background: -webkit-linear-gradient(#00a4e8, #0080b5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#00a4e8, #0080b5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#00a4e8, #0080b5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#00a4e8, #0080b5); /* Standard syntax */
}

div.resultListHeading div,
div.resultItem div {
    height: auto;
    display: table-cell;
    table-layout: fixed;
    width: auto;
    padding: 3px;
}

div.resultItem div.row {
    display: table-row;
}

div.resultItem div.group {
    display: table-row;
}

div.resultItem div.row div,
div.resultItem div.group div {
    display: table-cell;
}


div.resultListHeading > div {
    color: #fff;
}

div.resultItem > div {
    border-width: 0px 1px 1px 0px;
    border-color: #00a4e8;
    border-style: solid;
}

div.resultItem.selected > div {
    background-color: gold;
}

div.resultItem > div > a {
    display: block;
}

div.resultItem > div:first-child {
    border-left-width: 1px;
}

div.resultItem:nth-of-type(odd) {
    background: #F0F0F0;
    background: -webkit-linear-gradient(#F0F0F0, #E5E5E5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#F0F0F0, #E5E5E5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#F0F0F0, #E5E5E5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#F0F0F0, #E5E5E5); /* Standard syntax */
}

div.resultItem:nth-of-type(even) {
    background: #E5E5E5;
    background: -webkit-linear-gradient(#E5E5E5, #EFEFEF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#E5E5E5, #EFEFEF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#E5E5E5, #EFEFEF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#E5E5E5, #EFEFEF); /* Standard syntax */
}


div.resultItem.headNoBg > div {
    border: none;
}

div.resultItem.headNoBg {
    background: none;
}

div.resultList.noBg div.resultItem {
    background: none;
}

div.resultList.noBg div.resultItem div {
    border-width: 0px 0px 1px 0px;
}

div.resultList.noBg div.resultItem.headNoBg:hover div {
    background: none;
}

div.resultList.noBg div.resultItem:hover div,
div.resultItem:hover {
    background: #ddd;
}

div.resultListHeading > div {
    font-weight: bold;
}

div.resultItem > div:last-child .button {
    margin-top: 3px;
}

div.resultItem div.actions {
    width: 20%;
}

div.resultItem div.actions .button {
    overflow: hidden;
}

div.resultItem div.one-button {
    width: 5%;
}

div.resultItem div.one-button.width-20 {
    width: 20px;
}

div.resultItem div.one-button.width-35 {
    width: 35px;
}

div.resultItem div.actions a.actionIconSmall,
div.resultItem div.actions a.actionIcon {
    display: inline-block;
}


/* button line at page bottom */
.button_line {
    padding: 0.2em 0.2em 0.2em 0.5em;

    width: 100%;
    text-align: right;
    clear: both;
}

/* general tables */
table {
    display: table;
    width: 100%;
}

table thead th,
table thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
    font-weight: bold;
}

table tbody tr td {
    padding: 0.5em 1em;
}

table tbody tr:nth-of-type(odd) td {
    background: #FFF;
}

table tbody tr:nth-of-type(even) td {
    background: #EFEFEF;
    background: -webkit-linear-gradient(#EFEFEF, #E5E5E5); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#EFEFEF, #E5E5E5); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#EFEFEF, #E5E5E5); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#EFEFEF, #E5E5E5); /* Standard syntax */
}

table tbody tr:hover td {
    background: #ddd;
}

table thead tr,
table tbody tr.heading td,
table tbody tr td.heading,
table.dataTable thead tr {
    background: #0080b5;
    background: -webkit-linear-gradient(#00a4e8, #0080b5);
    background: -o-linear-gradient(#00a4e8, #0080b5);
    background: -moz-linear-gradient(#00a4e8, #0080b5);
    background: linear-gradient(#00a4e8, #0080b5);
    color: #fff;
}

table thead.twolines tr,
table tbody tr.heading.twolines td,
table tbody tr td.heading.twolines,
table.dataTable thead.twolines tr {
    background: #0080b5;
}

table th.border-left,
table td.border-left {
    border-left: 1px solid #000;
}

table th.border-right,
table td.border-right {
    border-right: 1px solid #000;
}


table.dataTable thead tr th {
    border-left: 1px solid #fff;
}

table.dataTable thead tr th:first-child {
    border-left: 0px;
}

table.dataTable thead .no-sort::after {
    display: none !important;
}

table.dataTable thead .no-sort {
    cursor: default !important;
    background-image: none;
}

table.dataTable tbody tr:hover {
    background-color: #E5E5E5;
}

table.dataTable tbody tr td.actions {
    text-align: left;
    max-width: 20%;
    min-width: 10%;
}

table.dataTable tbody tr td.actions .btn,
table.dataTable tbody tr td.actions .button {
    width: 100%;
    text-align: left;
}

div.detail_item {
    display: block;
    min-height: 25px;
    clear: both;
    padding: 0.2em 0.5em;
}

div.detail_item:after {
    display: block;
    content: ' ';
    clear: both;
}

div.detail_item:hover {
    background-color: #e4e4e4;
}

div.detail_item > div {
    display: block;
    width: 49%;
    float: left;
    min-height: 25px;
    line-height: 1.2em;
}

div.detail_item > div.name {
    margin-right: 2%;
    width: 33%;
    text-align: right;
}

div.detail_item > div.value {
    margin-right: 0%;
    width: 65%;
}

div.detail_item > div.value select,
div.detail_item > div.value input[type="text"] {
    width: 100%;
}

div.detail_item > div.value a {
    color: #000;
}

div.detail_item > div.fullsize {
    width: auto;
    float: none;
}


div.detail_item > div.value.textarea a.actionIconSmall {
    float: right;
}

div.detail_item > div.value.textarea form {
    text-align: right
}

div.detail_item > div.value.textarea textarea {
    width: 100%;
    min-height: 75px;
}


div.detail_item > div.value.textarea form button {
    margin: 0.5em 0.2em;
}

div.detail_item > div.value .button {
    line-height: 1em;
}

div.detail_item div.name a.glyphicons,
div.detail_item div.value a.glyphicons {
    display: inline-block;
    cursor: pointer;
    margin-left: 5px;
}

div.detail_item div.value a.glyphicons span {
    font-family: Verdana, Helvetica, "sans-serif";
    font-size: 1.25em;
}

div.detail_item div.value a.actionIconSmall.edit {
    margin-left: 15px;
}

.contentTabs {
    height: 100%;
    width: 100%;
    background: none;
    border-radius: 0px;
    border: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.contentTabs ul.ui-tabs-nav {
    background: none;
    border: none;
    border-radius: 0px;

}

.contentTabs ul.ui-tabs-nav li {
    border: 1px solid #00a4e8;
    border-radius: 4px;
    background: #0080b5;
    background: -webkit-linear-gradient(#00a4e8, #0080b5);
    background: -o-linear-gradient(#00a4e8, #0080b5);
    background: -moz-linear-gradient(#00a4e8, #0080b5);
    background: linear-gradient(#00a4e8, #0080b5);

}

.contentTabs ul.ui-tabs-nav li.ui-tabs-active {
    background: #fff;
    padding-bottom: 0px;
}

.contentTabs > div.ui-tabs-panel {
    height: 80%;
    height: calc(100% - 50px - 3em);
    padding: 1em 0.2em 0em 0.2em;
}

.contentTabs > div.ui-tabs-panel.multiboxes div.box {
    height: auto;
}

.contentTabs > div.row {
    height: 100%;
}

.contentTabs > div.row div.box {
    max-height: 100%;
}

body.view .contentTabs.tabPanel-right > div.ui-tabs-panel {
    height: calc(100% - 3em);
}

.contentTabs .box .box_inner h3 {
    display: inline-block;
    margin-right: 1em;
}

.contentTabs .box .box_inner .buttonEditAll {
    display: inline-block;
}


div.ui-datepicker div.ui-datepicker-header,
div.ui-dialog div.ui-dialog-titlebar {
    background: #0080b5;
    background: -webkit-linear-gradient(#00a4e8, #0080b5);
    background: -o-linear-gradient(#00a4e8, #0080b5);
    background: -moz-linear-gradient(#00a4e8, #0080b5);
    background: linear-gradient(#00a4e8, #0080b5);
}

.ui-widget-header {
    color: #fff;
}

/*#person_addresses .address,*/
/*#customer_email_addresses .email_address,*/
/*#customer_addresses .address,*/
/*#salespartner_addresses .address,*/
/*#company_addresses .address {*/
/*    !*float: left;*!*/
/*    !*width: 49%;*!*/
/*    padding: 1%;*/
/*    margin-right: 1%;*/
/*}*/


/*#customer_email_addresses .email_address div :hover,*/
/*#salespartner_email_addresses .email_address div :hover,*/
/*#person_email_addresses .email_address div :hover,*/
/*#company_email_addresses .email_address div :hover,*/

/*#customer_bank_accounts .bank_account div :hover,*/
/*#salespartner_bank_accounts .bank_account div :hover,*/
/*#person_bank_accounts .bank_account div,*/
/*#company_bank_accounts .bank_account div,*/

/*#customer_addresses .address:hover div,*/
/*#salespartner_addresses .address:hover div,*/
/*#person_addresses .address:hover div,*/
/*#company_addresses .address:hover div {*/
/*    background-color: #e4e4e4;*/
/*}*/


/* This covers all sections at once using classes */
.email_address, .bank_account, .address {
    transition: background-color 1s ease;
    padding: 8px; /* Room for the background to show */
}

.email_address:hover > div,
.bank_account:hover > div,
.address:hover > div,
.person:hover > div {
    background-color: #e4e4e4;
}



/*#person_addresses .address .actionbar-right,*/
/*#customer_email_addresses .email_address .actionbar-right,*/
/*#customer_addresses .address .actionbar-right,*/
/*#salespartner_addresses .address .actionbar-right,*/
/*#company_addresses .address .actionbar-right {*/
/*    float: right;*/
/*    width: 20px;*/
/*    margin-left: 5px;*/
/*    margin-right: 3px;*/
/*}*/

/*#person_addresses .form,*/
/*#customer_email_addresses .form,*/
/*#customer_addresses .form,*/
/*#salespartner_addresses .form,*/
/*#company_addresses .form {*/
/*    clear: both;*/
/*}*/

/*#salespartner_email_addresses .email_address,*/
/*#person_email_addresses .email_address,*/
/*#company_email_addresses .email_address {*/
/*    !*float: left;*!*/
/*    !*width: 49%;*!*/
/*    padding: 1%;*/
/*    margin-right: 1%;*/
/*}*/

/*#salespartner_bank_accounts .bank_account,*/
/*#company_bank_accounts .bank_account,*/
/*#customer_bank_accounts .bank_account,*/
/*#person_bank_accounts .bank_account {*/
/*    display: inline-block;*/
/*    padding: 1%;*/
/*    margin: 0 0 1em;*/
/*    width: 99%;*/
/*}*/

/*#salespartner_bank_accounts,*/
/*#company_bank_accounts,*/
/*#customer_bank_accounts,*/
/*#person_bank_accounts {*/
/*    -moz-column-count: 2;*/
/*    -webkit-column-count: 2;*/
/*    column-count: 2;*/
/*    -moz-column-gap: 1em;*/
/*    -webkit-column-gap: 1em;*/
/*    column-gap: 1em;*/
/*}*/

/*#salespartner_bank_accounts .bank_account:hover,*/
/*#salespartner_email_addresses .bank_account:hover,*/
/*#person_bank_accounts .bank_account:hover,*/
/*#company_bank_accounts .bank_account:hover,*/
/*#customer_bank_accounts .bank_account:hover,*/
/*#person_email_addresses .email_address:hover,*/
/*#company_email_addresses .email_address:hover {*/
/*    background-color: #e4e4e4;*/
/*}*/

/*#salespartner_bank_accounts .bank_account .actionbar-right,*/
/*#salespartner_email_addresses .email_address .actionbar-right,*/
/*#company_bank_accounts .bank_account .actionbar-right,*/
/*#customer_bank_accounts .bank_account .actionbar-right,*/
/*#person_bank_accounts .bank_account .actionbar-right,*/
/*#person_email_addresses .email_address .actionbar-right,*/
/*#company_email_addresses .email_address .actionbar-right {*/
/*    float: right;*/
/*    width: 20px;*/
/*    margin-left: 5px;*/
/*    margin-right: 3px;*/
/*}*/

#person_bank_accounts .bank_account:nth-child(odd) {
    clear: both;
}

#salespartner_bank_accounts .form,
#salespartner_email_addresses .form,
#person_bank_accounts .form,
#company_bank_accounts .form,
#person_email_addresses .form,
#company_email_addresses .form {
    clear: both;
}

.green {
    color: green;
}

.red {
    color: red;
}

a.glyphicons {
    font-size: 0.8em;
}

div.address a.edit_address,
div.address a.delete {
    color: #000;
    cursor: pointer;
}

div.bank_account a.edit_bank_account,
div.bank_account a.delete,
div.email_address a.edit_email_address,
div.email_address a.delete {
    color: #000;
    cursor: pointer;
}


.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
    color: #000;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    color: #fff;
}

/*#company_contactPersons div.person {*/
/*    float: left;*/
/*    !*width: 30%;*!*/
/*    padding: 1%;*/
/*    margin-right: 1%;*/
/*}*/

#company_contactPersons div.person:hover {
    background-color: #e4e4e4;
}

#company_contactPersons div.person .actionbar-right {
    float: right;
    width: 20px;
    margin-left: 5px;
    margin-right: 3px;
}


.ui-dialog .button.red,
.button.red {
    background: #ee6363;
    background: -webkit-linear-gradient(#f39191, #ee6363); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#f39191, #ee6363); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#f39191, #ee6363); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#f39191, #ee6363); /* Standard syntax */
    line-height: 18px;
    border-color: #ee6363;
    color: #fff;
}

.ui-dialog .button.red:hover,
.button.red:hover {
    background: #f39191;
    background: -webkit-linear-gradient(#ee6363, #f39191); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#ee6363, #f39191); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#ee6363, #f39191); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#ee6363, #f39191); /* Standard syntax */
    color: #fff;
}

@media (max-width: 1024px) {
    #topPanel #breadcrumb {
        display: none;
    }

    #topPanel #userName {
        width: 35%
    }

    #topPanel #menuSearch {
        margin-left: 5%;
    }

    div.detail_item > div.name {
        width: 48%
    }

    div.detail_item > div.value {
        width: 50%
    }

    div.workflowBar ul li.ui-tabs-anchor.heading {
        display: none;
    }

}

@media (max-width: 1280px) {
    #topPanel #breadcrumb, #topPanel #menuSearch {
        width: auto;
    }
}

#content form .row {
    width: 100%;
}

/*
    popup dialog. for example on customer edit add provideraccessdata
*/
.dialog-form {
    padding: 20px;
    max-width: 100%;
}

.form-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start; /* Align labels to the top of textareas */
}

.form-row label {
    width: 140px; /* Fixed width for alignment */
    font-weight: bold;
    padding-top: 8px;
    flex-shrink: 0;
}

.input-container {
    flex-grow: 1;
}

.input-container input,
.input-container select,
.input-container textarea {
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break the width */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.button_line {
    margin-top: 20px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* porting form popup dialog.*/
#portingForm .detail_item,
#add-provider-form .form-row {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}

#portingForm .name,
.form-row label {
    width: 200px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    font-weight: bold;
}

#portingForm .value,
.input-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

#portingForm input[type="radio"],
#portingForm input[type="checkbox"] {
    margin-right: 8px;
    min-width: auto !important;
    width: auto !important;
}

#portingForm input[type="text"],
#portingForm input:not([type="radio"]):not([type="checkbox"]) {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#portingForm .value label {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    white-space: nowrap;
}

@media (max-width: 992px) {
    #w_left {
        width: 0;
        transition: all 0.3s ease-in-out;
    }
    #w_right {
        width: 100%;
        transition: all 0.3s ease-in-out;
        padding-right: 25px
    }
}

#toast-container {
    perspective: 1000px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 11000;
    pointer-events: none;
}

.toast {
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    background: #333;
    color: #fff;
    padding: 12px 25px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none; /* Hidden by default */
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    font-weight: bold;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast.info {
    background-color: #0080b5;
    border-left: 6px solid #005f87;
    color: #fff;
}

.toast.success {
    background-color: #10a37f;
    border-left: 6px solid #0c7a5f;
    color: #fff;
}

.toast.error {
    background-color: #d64545;
    border-left: 6px solid #a83232;
    color: #fff;
}

.bank-list-group {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    font-size: 13px;

    .bank-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        border-bottom: 1px solid #edf2f7;
        cursor: pointer;

        &:last-child { border-bottom: none; }

        &:hover { background: #f8f9fa; }
    }

    .bank-name {
        font-weight: 500;
        color: #4a5568;
        max-width: 70%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bank-bic {
        font: bold 12px monospace;
        color: #718096;
    }
}
