/**
 * Mageplaza
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the mageplaza.com license that is
 * available through the world-wide-web at this URL:
 * https://www.mageplaza.com/LICENSE.txt
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade this extension to newer
 * version in the future.
 *
 * @category    Mageplaza
 * @package     Mageplaza_CustomerAttributes
 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
 * @license     https://www.mageplaza.com/LICENSE.txt
 */

.fieldset > .fields > .field:last-of-type {
    margin-bottom: 0;
}

.field .visual-option {
    display: inline-block;
    margin-right: 5px;
    word-break: break-all;
    margin-bottom: 10px;
}

.field .visual-option .media .color {
    margin-bottom: 5px;
    min-width: 100px;
    height: 100px;
}

.field .visual-option .media .image {
    margin-bottom: 5px;
    max-height: 100px;
}

select[multiple] {
    height: auto;
    background-image: none;
    overflow-y: auto;
    padding: 10px;
}

.preview-image img {
    max-height: 20px;
    position: relative;
    top: 5px;
}

.file-uploader-summary {
    display: inline-block;
    vertical-align: top;
}

.file-uploader-preview, .file-uploader-placeholder {
    background: #ffffff;
    border: 1px solid #cacaca;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 150px;
    line-height: 1;
    margin: 1rem 2.5rem 1rem 0;
    overflow: hidden;
    position: relative;
    width: 150px;
}

.file-uploader-preview .preview-document {
    display: inline-block;
    text-decoration: none;
}

.file-uploader-preview .preview-link {
    display: block;
    height: 100%;
}

.file-uploader-preview .action-remove {
    bottom: 4px;
    cursor: pointer;
    display: block;
    height: 27px;
    left: 6px;
    position: absolute;
    text-decoration: none;
    width: 25px;
    z-index: 2;
}

.file-uploader-preview .action-remove {
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

#checkout .file-uploader-preview .action-remove {
    background-color: transparent !important;
}

.file-uploader-preview .action-remove:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 2rem;
    line-height: inherit;
    color: #514943;
    content: '\f1f8';
    font-family: FontAwesome;
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.file-uploader-preview .action-remove > span {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.file-uploader-preview .preview-document:before {
    left: 0;
    margin-top: -3.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 2;
}

.file-uploader-preview .preview-document:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 7rem;
    line-height: inherit;
    color: #cccccc;
    content: '\f016';
    font-family: FontAwesome;
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.file-uploader-preview .preview-image img {
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}

.file-uploader-area input[type='file'] {
    cursor: pointer;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.file-uploader-button {
    cursor: pointer;
    display: inline-block;
    background: #e3e3e3;
    color: #514943;
    border: 1px solid #adadad;
    border-radius: 0;
    display: inline-block;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.36;
    padding: 0.6rem 1em 0.6rem;
    text-align: center;
    vertical-align: baseline;
}

.file-uploader .file-uploader-meta {
    color: #9e9e9e;
}

.control > .admin__field .admin__field-label {
    display: none;
}

.mp_customer_attribute_popup .modal-inner-wrap {
    width: 35%;
}

.mp_customer_attribute_popup .modal-footer {
    border-top: none !important;
}
.field.not-required .control .input-text{
    max-width:85%
}
.field.mp-clear.required{
    padding-right: 10px !important;
}
