/* General Customer Profiles CSS */
.profiles-section .btn-lg {
    border-radius: 4px;
    padding: 12px 18px;
}

.profiles-section input,
.profiles-section select,
.profiles-section textarea {
    border-radius: 4px;
}

.profiles-section .page-header .btn-back-to-profiles span {
    padding-right: 10px;
}

/* Customer Profile Wrapper CSS */
.profiles-section .content-wrapper {
    padding-bottom: 5px;
}

.profiles-wrapper .btn {
    width: 200px;
    margin-left: 30px;
}

.profiles-wrapper form .input-group,
.profiles-wrapper form .input-group input {
    height: 45px;
    border-radius: 4px;
}

.profiles-wrapper form .input-group .input-group-addon {
    background: #fff;
    border-color: #ccc;
    border-right: none;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    padding-right: 2px;
}

.profiles-wrapper form .input-group input,
.profiles-wrapper form .input-group input.form-control:focus {
    border-color: #ccc;
    border-left: none;
    font-size: 14px;
}

/* Delete Customer Profile Success Message */
.profiles-list .delete-profile-success .alert-success {
    width: 40%;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.profiles-list .delete-profile-success h4 {
    margin-bottom: 0;
}

/* Customer Profile List Section */
.profiles-list {
    padding: 0 10px 15px;
}

.profiles-list .panel,
.profiles-list .panel-body {
    border-radius: 10px;
    border-color: #ccc;
    width: 100%;
}

.profiles {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

/* Customer Profile Header CSS */
.profiles-list .profile-header {
    margin-bottom: 20px;
}

.profiles-list .profile-header h2 {
    margin-top: 0;
    word-break: break-word;
    font-size: 24px;
}

/* Customer Profile Description CSS */
.profiles-list .profile-description {
    margin-bottom: 30px;
}

.profiles-list .profile-description h5 {
    margin-bottom: 5px;
}

/* No Customer Profiles Search Results CSS */
.profiles-list .no-search-results {
    margin: 0 auto;
}

/* Inidividual Profile CSS */
.edit-profile .individual-profile.panel {
    border-color: #ccc;
    border-radius: 10px;
}

/* Individual Profile Name & Description CSS */
.edit-profile .individual-profile .profile-name-description.panel-heading {
    background: #fff;
    border-color: #ccc;
    border-width: 1px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.edit-profile .individual-profile .profile-name-description label {
    font-size: 18px;
    font-weight: bold;
}

.edit-profile .individual-profile .profile-name-description p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Individual Profile Attribute Category Tab Buttons CSS */
.edit-profile .profile-attributes.panel-body {
    padding: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.edit-profile .profile-attributes.panel-body .button-group {
    padding: 15px;
    padding-bottom: 0;
    height: 101px;
    margin-bottom: 0;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button_disabled,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container div.scroll_tab_inner,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button_disabled {
    height: 101px;
    background: #fff;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button_disabled,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button_disabled {
    padding-top: 30px;
    width: 40px !important;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button {
    color: #333;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button_disabled,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button_disabled {
    color: #ccc;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_right_button::before,
.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .scroll_tab_left_button::before {
    padding-left: 15px;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container div.scroll_tab_inner {
    padding: 15px 5px !important;
    margin-left: 15px !important;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .attribute-buttons {
    background: #fff;
    padding-left: 0;
    padding-right: 0;
}

.edit-profile .profile-attributes.panel-body .button-group.scroll_tabs_container .attribute-buttons .selected-count {
    padding: 0;
    color: inherit;
    background: none;
    font-size: inherit;
    line-height: inherit;
}

.edit-profile .profile-attributes.panel-body .button-group .btn {
    font-weight: bold;
    margin-bottom: 15px;
    margin-right: 10px;
}

.edit-profile .profile-attributes.panel-body .button-group .btn-default {
    background: #fff !important;
}

.edit-profile .profile-attributes.panel-body .button-group .btn-default:hover {
    background: #f0f0f0 !important;
}

.edit-profile .profile-attributes.panel-body .btn.active {
    color: #1d89cf;
    font-weight: bold;
    background: #e1f3ff !important;
    border-color: #1d89cf !important;
    -webkit-box-shadow: 0px 0px 0px 3px rgba(29,137,207,0.5);
    box-shadow: 0px 0px 0px 3px rgba(29,137,207,0.5);
}

.edit-profile .profile-attributes.panel-body .btn .badge {
    display: block;
    margin-top: 3px;
    border-color: #444;
    font-size: 10px;
    font-weight: normal;
    padding: 0 15px;
    color: #fff;
    line-height: inherit;
    background: #333;
}

.edit-profile .profile-attributes.panel-body .btn.active .badge {
    background: #1d89cf;
    border-color: #1d89cf;
}

/* Individual Profile Attribute Category - Attribute List Section CSS */
.edit-profile .individual-profile .category-attribute-list.tab-content {
    padding: 0;
    border-top: 1px solid #ccc;
}

.edit-profile .individual-profile .category-attribute-list > .tab-pane {
    display: none;
}

.edit-profile .individual-profile .category-attribute-list > .tab-pane.active {
    display: flex;
    height: 50vh;
}

.edit-profile .individual-profile .category-attribute-list .col-sm-7 {
    border-bottom-left-radius: 10px;
}

.edit-profile .individual-profile .category-attribute-list .col-sm-5 {
    border-bottom-right-radius: 10px;
}

.edit-profile .individual-profile .category-attribute-list .panel {
    padding: 0;
    margin-bottom: 0;
    border-color: #ccc;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-bottom-left-radius: 10px;
    background: #f0f0f0;
}

.edit-profile .individual-profile .category-attribute-list .panel-body {
    background: #f0f0f0;
    border-bottom-left-radius: 10px;
}

.edit-profile .individual-profile .category-attribute-list .panel-body h4,
.edit-profile .individual-profile .selected-attributes h4 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
}

.edit-profile .individual-profile .category-attribute-list .panel-body {
    overflow-y: auto;
    position: relative;
    height: auto;
    max-height: 100%;
    padding-bottom: 50px;
}

.edit-profile .individual-profile .category-attribute-list .panel-body form {
    display: flex;
    flex-wrap: wrap;
}

.edit-profile .individual-profile .category-attribute-list .panel-body .form-group.col-sm-3 {
    word-wrap: break-word;
}

.edit-profile .individual-profile .category-attribute-list .panel-body label {
    font-size: 14px;
}

.edit-profile .individual-profile .category-attribute-list .panel-body input[type=checkbox] {
    margin-top: 3px;
}

.edit-profile  .individual-profile .category-attribute-list .panel-footer {
    background: #f0f0f0;
    border-color: #ccc;
    border-bottom-left-radius: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.edit-profile  .individual-profile .category-attribute-list .panel-footer .btn-default {
    background: #fff;
    width: 46%;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 5px;
}

.edit-profile  .individual-profile .category-attribute-list .panel-footer .btn-default .fa {
    margin-right: 3px;
}

/* Individual Profile Attribute Category - Configure Selected Attributes Section CSS */
.edit-profile .individual-profile .selected-attributes {
    padding: 20px;
    overflow-y: auto;
    position: relative;
    height: auto;
    max-height: 100%;
}

.edit-profile .individual-profile .selected-attributes .well {
    background: #fff;
    margin-top: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 25px 5%;
    position: relative;
}

.edit-profile .individual-profile .selected-attributes .well h4 {
    margin-bottom: 15px;
}

.edit-profile .individual-profile .selected-attributes .well .form-group {
    margin-bottom: 0;
}

/* Modal CSS */
.profiles-section .modal .modal-dialog {
    transform: translate(20%,-20%);
}
.profiles-section #create-profile-name.modal .modal-dialog {
    width: 400px;
}

.profiles-section .modal.in .modal-dialog {
    width: 600px;
    transform: translate(20%, 28%);
}

.profiles-section .modal .modal-content {
    border-radius: 10px;
}

.profiles-section .modal .modal-header {
    background: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.profiles-section .modal .modal-header .close {
    color: #555;
    font-size: 14px;
    opacity: 1;
}

.profiles-section .modal .modal-body {
    padding: 30px 50px;
}

.profiles-section .modal .modal-body h2 {
    margin-top: 0;
    line-height: 1.2;
}

.profiles-section .modal .modal-body h4 {
    margin-top: 10px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.profiles-section .modal .modal-body input.form-control {
    height: 36px;
    border-radius: 4px;
}

.profiles-section .modal .fa-warning {
    font-size: 36px;
}

.profiles-section .modal h2 {
    line-height: 1.2;
}

.profiles-section .modal h4 {
    margin: 30px 0;
    line-height: 1.4;
}

.profiles-section #create-profile-name p {
    margin-top: 10px;
}

.profiles-section .modal.continue-btn {
    margin-bottom: 10px;
}

.profiles-section .modal-body .btn-outline {
    border-color: #1a7ab9;
    color: #1a7ab9;
    transition: all .2s ease;
}

.profiles-section .modal-body .btn-outline:hover,
.profiles-section .modal-body .btn-outline:active,
.profiles-section .modal-body .btn-outline:focus {
    background: #fff !important;
    background-image: -webkit-linear-gradient(top,#fff 0,#f5f5f5 100%) !important;
    background-image: linear-gradient(to bottom,#fff 0,#f5f5f5 100%) !important;
    background-repeat: repeat-x;
}

/* loader */
.load-spinner {
    font-size: inherit;
}