/* --- Common --- */

.a2wl-content .form-control{
    width: 100%;
}


.a2wl-content ul{
    padding-left: 10px;
}

.a2wl-content h1{
    margin-bottom: 19px;
    color: #1d2327;
    font-size: 2em;
    font-weight: 700;
}

.a2wl-content .p20{
    padding: 20px !important;
}

.a2wl-content .input-group{
    display: flex;
}

.a2wl-content .input-group__input{
    position: relative;
    margin-right: 0;
    margin-left: 0;
}

.a2wl-content .input-group__input:first-child,
.a2wl-content .input-group__input:first-child .input-group__input-inner{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.a2wl-content .input-group__input:nth-child(n+2),
.a2wl-content .input-group__input:nth-child(n+2) .input-group__input-inner{
    border-left-width: 0;
}

.a2wl-content .input-group__input:nth-child(n+2):nth-last-child(n+2),
.a2wl-content .input-group__input:nth-child(n+2):nth-last-child(n+2) .input-group__input-inner{
    border-radius: 0;
}

.a2wl-content .input-group__input:last-child,
.a2wl-content .input-group__input:last-child .input-group__input-inner{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.a2wl-content .input-group__input_addon{
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

/* grid */
.a2wl-content .grid{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.a2wl-content .grid__col_to-right{
    margin-left: auto;
}

.a2wl-content .grid_default{
    margin-left: -20px;
    margin-top: -20px;
    width: calc(100% + 20px);
}

.a2wl-content .grid_default .grid__col{
    padding-left: 20px;
    padding-top: 20px;
}

.a2wl-content .grid_form{
    margin-left: -30px;
    margin-top: -10px;
    width: calc(100% + 30px);
}

.a2wl-content .grid_form .grid__col{
    padding-left: 30px;
    padding-top: 10px;
}

.a2wl-content .grid_3 .grid__col{
    width: calc(100% / 3);
}

.a2wl-content .grid_4 .grid__col{
    width: calc(100% / 4);
}

.a2wl-content .grid_6 .grid__col{
    width: calc(100% / 6);
}

.a2wl-content .grid .grid__col_fill{
    width: 100%;
}
.a2wl-content .grid_center .grid__col{
    display: flex;
    align-items: center;
}

.a2wl-content .grid__col_jcenter{
    justify-content: center;
}

/* upload-icon */
.a2wl-content .upload-icon{
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0 !important;
    margin-left: 5px;
}

.a2wl-content .upload-icon__icon{
    width: 100%;
    height: 100%;
}

.a2wl-content .upload-icon__label{
    display: block;
    height: 28px;
    width: 28px;
    cursor: pointer;
}

.a2wl-content .upload-icon__input{
    position: absolute;
    left: -30px;
    top: 0;
    opacity: 0;
    cursor: pointer;
    z-index: -1;
}

.a2wl-content .upload-icon.disabled{
    opacity: 0.4;
    cursor: default;
}

.a2wl-content .upload-icon.disabled .upload-icon__label{
    cursor: default;
}
.a2wl-content .upload-icon.disabled .upload-icon__input{
    cursor: default;
}

/* tabs */
.a2wl-content .tabs{
    display: flex;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

.a2wl-content .tabs__tab{
    display: block;
    margin-right: 2px;
    margin-bottom: -1px;
}

.a2wl-content .tabs__link{
    display: block;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    padding: 10px 15px;
}

.a2wl-content .tabs__link:focus,
.a2wl-content .tabs__link:hover{
    border-color: #eee #eee #ddd;
    background-color: #eee;
}

.a2wl-content .tabs__tab.active .tabs__link{
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

/* panel */

.a2wl-content .panel-heading{
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.a2wl-content .panel-heading_column{
    flex-direction: column;
}
.a2wl-content .panel-body{
    padding: 15px;
}

.a2wl-content .pull-right{
    margin-left: auto;
}

/* field */
.a2wl-content .field{}
.a2wl-content .field_default{}

.a2wl-content .field_default .field__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    margin-bottom: 4px;
}

.a2wl-content .field_default .field__input-wrap{
    width: 100%;
}
.a2wl-content .field_default .field__input{
    width: 100%;
}

.a2wl-content .field .select2{
    display: block;
    flex-grow: 1;
    max-width: 500px;
}
.a2wl-content .field .select2-search,
.a2wl-content .field .select2-search__field{
    width: 100% !important;
}

.a2wl-content .field_inline{
    display: flex;
    align-items: flex-start;
}

.a2wl-content .field_inline .field__label{
    width: calc(100% / 3);
    margin-right: 20px;
    min-height: 40px;
}

.a2wl-content .field_inline .field__input-wrap{
    width: 50%;
    display: flex;
    align-items: center;
    min-height: 40px;
    flex-wrap: wrap;
}

.a2wl-content .field_inline .field__input{
    width: 100%;
}

.a2wl-content .field_inline .field__input[type="checkbox"],
.a2wl-content .field_inline .field__input[type="radio"]{
    width: auto;
    margin: 0;
    margin-right: 10px;
}

.a2wl-content .field_inline-2 .field__input-wrap{
    width: 25%
}

.a2wl-content .field__fill{
    width: 100%;
}

/* tooltip */
.a2wl-content [data-toggle="tooltip"]:after {
    content: attr(data-title);
    position: absolute;
    width: 200px;
    background: #000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    margin-left: -100px;
    bottom: calc(100% + 10px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.a2wl-content [data-toggle="tooltip"]:before {
    content: '';
    position: absolute;
    pointer-events: none;
    border-top: solid #000 6px;
    border-left: solid transparent 5px;
    border-right: solid transparent 5px;
    bottom: calc(100% + 4px);
    left: 50%;
    margin-left: -5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.a2wl-content [data-toggle="tooltip"]:hover:after,
.a2wl-content [data-toggle="tooltip"]:hover:before{
    opacity: 1;
}

.a2wl-content .form-control-feedback.a2wl-visible-switch {
    cursor: pointer;
    pointer-events: auto;
}

/* dropdown */
.a2wl-content .btn-group,
.a2wl-content .input-group-btn{
    position: relative;
}

.a2wl-content .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.a2wl-content .dropdown-menu > li > a:hover,
.a2wl-content .dropdown-menu > li > a:focus {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}

/* table */
.a2wl-content .table-responsive{
    width: 100%;
    overflow: auto;
}

.a2wl-content .table{
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.a2wl-content .table-bordered{
    border: 1px solid #ddd;
    border-collapse: collapse;
}

.a2wl-content .table th{
    background-color: #f5f5f5;
    padding: 8px;
    line-height: 1.42857143;
    text-align: left;
    border: 1px solid #ddd;
}

.a2wl-content .table td{
    padding: 8px;
    line-height: 1.42857143;
}


.a2wl-content .container-fluid{
    padding: 0 15px;
}

/* --- Specific --- */

/* a2wl_dashboard */
body[class*="page_a2w"]{
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

.a2wl-content * {
    box-sizing: border-box;
}

.a2wl-content .panel-chrome{
    margin-bottom: 20px;
}

.a2wl-content .btn-primary{
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.a2wl-content .btn-info{
    color: #fff;
    background-color: #5bc0de;
}

.a2wl-content .btn-link{
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #337ab7;
}

.a2wl-content .btn-link:focus{
    color: #23527c;
}

.a2wl-content .btn-link:hover{
    color: #23527c;
}

.a2wl-content .search-panel-simple{
    display: flex;

}

.a2wl-content .search-panel-inputs{
    display: flex;
    width: 75%;
    padding-right: 15px;
}

.a2wl-content .search-panel-inputs select{
    position: relative;
    left: -3px;
}

.a2wl-content .search-panel-buttons{
    width: 25%;
    padding-left: 15px;
}

.a2wl-content .search-panel-col input{
    display: block;
    float: none;
    max-width: 100%;
}

.a2wl-content .container-flex_p20{
    margin-left: -20px;
}

.a2wl-content .container-flex_p20 .opt{
    padding-left: 20px;
}

.a2wl-content .container-flex_fill .opt{
    flex-grow: 1;
}

.a2wl-content .label{
    display: flex;
    align-items: center;
}

.a2wl-content .label_h32{
    height: 32px;
}
.a2wl-content .opt label{
    margin: 0;
}

.a2wl-content .opt input{
    margin: 0;
}

.a2wl-content .alert, .a2wl-content .permanent-alert{
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.a2wl-content .alert-success, .a2wl-content .permanent-alert-success{
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.a2wl-content .alert-danger, .a2wl-content .permanent-alert-danger{
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.a2wl-content .alert-info, .a2wl-content .permanent-alert-info{
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.a2wl-content .pagination{
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

/* a2wl_import */
.a2wl-content .btn-danger{
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.a2wl-content .nav-tabs{
    display: flex;
    margin: 0;
    margin-bottom: -1px;
}

.a2wl-content .nav-tabs li{
    margin: 0;
}

.a2wl-content .nav-tabs li a{
    display: block;
    border-bottom: 1px solid transparent !important;
}

.a2wl-content .nav-tabs li.active a{
    border-bottom-color: #fff !important;
}

.a2wl-content .dropdown-menu{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
}

.a2wl-product-import-list .product .actions{
    display: flex;
    align-items: center;
}

.a2wl-content .badge{
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #777;
    border-radius: 10px;
}

#a2wl-import-actions{
    margin-top: 20px;
}

.a2wl-content .grid_product-info{
    flex-wrap: nowrap;
}

.a2wl-content .grid_product-info .grid__col_image{
    width: 25%;
    flex-shrink: 0;
}

/* pricing-rules */

.a2wl-content .price-formula-sets__dropdown
{
    width: 30%;
}

/* pricing-rules */
.a2wl-content .pricing-rules__icon{
    width: 9%;
}

.a2wl-content .pricing-rules__label{
    width: 17%;
}
.a2wl-content.pricing-rules__field{
    width: 25%;
}

.a2wl-content .pricing-rules__arrow{
    display: flex;
    align-items: center;
}

.a2wl-content .pricing-rules__price-type{
    width: 17%;
}

.a2wl-api-keys input[type=text]{
    width: 100%;
}

.a2wl-content .has-feedback{
    display: inline-block;
    position: relative;
}

.a2wl-content .form-control-feedback{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
    color: #3c763d;
}

.a2wl-content .form-control[disabled]{
    background-color: #eee;
    opacity: 1;
    cursor: not-allowed;
}

.a2wl-content .btn[disabled]{
    cursor: not-allowed;
    box-shadow: none;
    opacity: .65;
}

.a2wl-content .a2wl-disabled {
    opacity: 0.6;
    pointer-events: none;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    background-color: #f9f9f9;
    position: relative;
}

.a2wl-content .radio-inline{
    margin-right: 20px;
}

#a2wl-toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
}

.a2wl-toast {
    background: #323232;
    color: #fff;
    padding: 14px 24px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.95;
    display: inline-block;
    max-width: 90vw;
}

.a2wl-toast-success {
    background: #28a745;
}

.a2wl-toast-error {
    background: #dc3545;
}

@keyframes a2wFadeHighlight {
    0% {
        background-color: #fff8e1; /* светло-жёлтый */
    }
    100% {
        background-color: transparent;
    }
}

.a2wl-highlighted {
    animation: a2wFadeHighlight 1.5s ease-out;
}

.a2wl-content .small-input {
    max-width: 200px;
}

.a2wl-content .medium-input {
    max-width: 370px;
}

.a2wl-content .large-input {
    max-width: 470px;
}

.a2wl-content .form-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.a2wl-content .form-inline .form-group {
    flex: 1;
}

.a2wl-content  .select2-fixed {
    width: 300px !important;
}

.a2wl-content .a2wl-placeholder-value-copy {
    pointer-events: auto !important;
    cursor: pointer;
}

.a2wl-placeholder-value-copy:hover {
    color: #0073aa !important;
}

.a2wl-placeholder-value-copy.copied {
    color: #46b450;
    transition: color 0.3s ease;
}