.account-details {
    position: relative;
}

.account-details-header {
    position: relative;
    width: 100%;
    padding-bottom: 15px;
}

.account-details-header--heading {
    font-size: 16px;
    font-family: inherit;
    font-weight: 400;
    margin-bottom: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.account-details-body {
    display: block;
    position: relative;
    padding: 18px 18px;
    background-color: #e3e7ee;
    font-family: inherit;
    color: #333333;
    font-size: 14px;
}

.account-details-body:not(:last-child) {
    margin-bottom: 15px;
}

.account-details-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    padding: 14px 14px;
    border: 1px dashed #b5b5b5;

}

.account-details-icon > i {
    color: #67696b;
    font-size: 32px;
}

.account-details-items {
    position: relative;
    margin-bottom: 20px;
}

.account-details-items--heading {
    display: flex;
    color: #858585;
    font-size: 13px;
}

.account-details-items--heading .info-box {
    position: relative;
}

.account-details-items--heading .info-box i {
    color: #858585;
    font-size: 14px;
    transition: all .3s;
}

.account-details-items--heading .info-box i:hover {
    cursor: pointer;
}

.account-details-items--heading .info-box i:hover + .info-box-content {
    opacity: 1;
    visibility: visible;
}

.account-details-items--heading .info-box .info-box-content {
    position: absolute;
    left: 0;
    min-width: 240px;
    max-width: 240px;
    background-color: #ffffff;
    padding: 10px 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    margin-top: 3px;
    border-radius: 2px;
    transition: all .3s ease;
    z-index: 99;
}

.account-details--items--subheading {
    color: #333333;
    font-size: 14px;
}

.account-details button.new-btn-bestellung {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 35px;
    font-size: 14px;
    font-weight: 500;
    border: 0;
    min-width: 160px;
    padding-left: 12px;
}

.account-details button.new-btn-bestellung:hover .icon-box > i {
    color: #cad940;
}

.account-details button.new-btn-bestellung .icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: 38px;
}

.account-details button.new-btn-bestellung .icon-box i {
    font-size: 18px;

}

.account-details .modal-content {
    width: 742px;
    transform: translate(-70px, 50px);
}

.account-details .modal-header {
    padding: 25px 25px;
}

.account-details .modal-footer {
    padding: 25px 0;
}

.account-details .modal-body {
    padding: 0 25px;
}

.account-details .modal-content {
    color: #333333;
    line-height: 2;
}

.account-details .modal-header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
}

.account-details .modal-header-content--title {
    color: #67696b;
    font-size: 22px;
    text-transform: uppercase;
}

.account-details .modal-header-content--close button {
    padding: 0;
    box-shadow: none;
    border: 0;
    background-color: #ffffff;
    position: relative;
    height: 0;
    transition: all .3s ease;
}

.account-details .modal-header-content--close button:hover span:before {
    opacity: 1;
    visibility: visible;
}

.account-details .modal-header-content--close button span {
    color: #333333;
    font-size: 32px;
    font-weight: lighter;
    line-height: 3px;
    position: relative;
    z-index: 1;
}

.account-details .modal-header-content--close button span:before {
    position: absolute;
    content: "";
    top: -3px;
    left: -11px;
    height: 42px;
    width: 42px;
    border-radius: 100px;
    background-color: #e3e7ee;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.account-details .form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.account-details .form-group label {
    font-size: 14px;
    color: #333333;
}

.account-details .form-group .form-control {
    position: relative;
    border: 1px solid #d5d5d1;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    background-color: #ffffff;
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    color: #333333;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
}

.account-details .form-group .form-control:focus {
    border-color: #46618e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.account-details select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-position: right 50%;
    background-repeat: no-repeat;
    background-image: url('data:image/svg+xml;utf8,<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" width="14" height="12" version="1"><path d="M4 8L0 4h8z"/></svg>');
    padding: .5em;
    padding-right: 1.5em
}

.account-details .form-group .form-control:disabled {
    background-color: #f1f1f1;
}

.account-details .toast-msg, .account-details .toast-msg-err {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    z-index: 10001;
    top: 25px;
    right: 25px;
    min-width: 280px;
    height: 45px;
    padding: 10px 10px;
    background-color: #333333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.account-details .toast-msg {
    border-bottom: 2px solid #cad940;
}

.account-details .toast-msg-err {
    border-bottom: 2px solid #ff0000;
}

.account-details .toast-msg span, .account-details .toast-msg-err span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
}

.account-details .toast-msg.show, .account-details .toast-msg-err.show {
    visibility: visible;
    opacity: 1;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

.account-details .small-msg {
    opacity: 0;
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
    transition: all .3s;
    line-height: 1.3;
}

.account-details .small-msg i {
    font-size: 12px;
    color: red;
    padding: 0;
}

.account-details .form-control.error {
    border-color: red !important;
}

.account-details .error + .small-msg {
    opacity: 1;
    display: block;
}

.account-details .contact-type {
    margin-top: 15px;
}
.account-details .contact-type .radio-text {
    font-size: 14px;
    font-weight: 300;
}

.account-details .reset-button {
    min-width: 140px !important;
}

.account-details input.error {
    border: 1px solid red;
}

.account-details .error-text {
    color: red;
    display: none;
}

.account-details.customer-edit {
    overflow-y: hidden;
    position: fixed;
}

.account-details.customer-edit .modal-content {
    width: 750px;
    transform: translate(-10%, 0);
}

.account-details.customer-edit .modal-body {
    max-height: calc(90vh - 15vh)!important;
    overflow-y: auto;
}

.account-details.customer-edit .b2b-field {
    display: none;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}