.magic-assets-widget {

}
.magic-assets-widget::after,
.magic-assets-widget__table::after {
    content: "";
    clear: both;
    display: table;
}
.magic-assets-widget__left-bar,
.magic-assets-widget__right-bar {
    width: 48%;
    height: calc(100% - 50px);
    float: left;
}
.magic-assets-widget__right-bar {
    margin-left: 2%;
    overflow: auto;
}
.magic-assets-widget__right-bar .form-item {
    padding: 0;
}
.magic-assets-widget__right-bar .dropzone {
    height: 110px;
    min-height: 110px;
}
.magic-assets-widget__bottom-bar {
    width: 100%;
    margin-top: 10px;
}
.magic-assets-widget__clearfix {
    clear: both;
}
.magic-assets-widget__link,
.magic-assets-widget__submit,
.magic-assets-widget__close {
    cursor: pointer;
    border-radius: 0;
    border: none;
    padding: 6px 10px;
    margin-bottom: 1em;
    margin-right: 1em;
    color: #fff;
    text-align: center;
    font-weight: normal;
    font-size: 1.077em;
    font-family: "Lucida Grande",Verdana,sans-serif;
    background: #4d8f46;
    transition: all, 0.3s;
}
.magic-assets-widget__submit {
    float: left;
    display: inline-block;
}
.magic-assets-widget__submit[disabled],
.magic-assets-widget__submit[disabled]:hover {
    background: #717171;
    cursor: not-allowed;
}
.magic-assets-widget__help-text {
    float: left;
    display: inline-block;
    width: 80%;
    line-height: 12px;
    margin-top: 5px;
    margin-left: 10px;
    color: #717171;
}
.magic-assets-widget__submit {
    margin: 0;
}
.magic-assets-widget__close {
    background: #B73939;
    margin-left: 20px;
}
.magic-assets-widget__link:hover,
.magic-assets-widget__submit:hover {
    text-decoration: none;
    background: #0a6700;
}
.magic-assets-widget__close:hover {
    text-decoration: none;
    background: #e74646;
}
.magic-assets-widget__filter,
.magic-assets-widget__filter-select {
    width: 100%;
}
.magic-assets-widget__selected-option::after {
    content: "";
    clear: both;
    display: table;
}
.magic-assets-widget__selected .magic-assets-widget__selected-option.active {
    background-color: #f9f9f9;
}
.magic-assets-widget__selected-option img {
    width: 100%;
}
.magic-assets-widget__selected-option-image {
    width: 50px;
    height: 50px;
    display: block;
    float: left;
    margin-right: 10px;
    overflow: hidden;
}
.magic-assets-widget__selected-option-title {
    display: block;
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
    width: calc(100% - 80px);
    white-space: nowrap;
    color: #333;
}
.magic-assets-widget__selected-option-title:hover {
    text-decoration: none;
    color: #333;
}
.magic-assets-widget__selected-option-remove {
    display: none;
    width: 14px;
    height: 14px;
    position: absolute;
    cursor: pointer;
    top: 5px;
    right: 5px;
}
.magic-assets-widget__selected-option-remove::before {
    content: '×';
    width: 14px;
    height: 14px;
    line-height: 13px;
    font-size: 25px;
    display: block;
}
.magic-assets-widget__selected .magic-assets-widget__selected-option-remove {
    display: block;
}
.magic-assets-widget__selected {
    margin-top: 10px;
    height: calc(100% - 40px);
    overflow: auto;
}
.magic-assets-widget__selected .magic-assets-widget__selected-option {
    cursor: pointer;
}
.magic-assets-widget__selected .magic-assets-widget__selected-option,
.magic-assets-widget__table .magic-assets-widget__selected-option {
    border-radius: 2px;
    border: 1px solid #aaa;
    margin-bottom: 2px;
    padding: 5px;
    background-color: #f1f1f1;
    position: relative;
    box-sizing: border-box;
}
.magic-assets-widget__filter .select2.select2-container {
    width: 100% !important;
}
.magic-assets-widget__form-container input,
.magic-assets-widget__form-container select,
.magic-assets-widget__form-container textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}
.magic-assets-widget__error-popup,
.magic-assets-widget__info-popup,
.magic-assets-widget__error-table {
    width: 80%;
    position: absolute;
    bottom: 10px;
    left: 10%;
    background-color: #f1f1f1;
    padding: 20px 10px;
    color: #c53727;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 1px 6px 0 #000;
}
.magic-assets-widget__error-popup.hide,
.magic-assets-widget__info-popup.hide {
    display: none;
}
.magic-assets-widget__info-popup {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}
.magic-assets-widget__table {
    margin-bottom: 10px;
}
.magic-assets-widget__table .magic-assets-widget__selected-option {
    width: 250px;
    margin: 0 10px  10px 0;
    float: left;
}
.magic-assets-widget__table  .magic-assets-widget__selected-option-title {
    width: calc(100% - 60px);
}
.magic-assets-source-field {
    display: none;
}
.field-widget-magic-assets {
    display: none;
}
.field-widget-magic-assets.show {
    display: block;
}
.magic-assets-widget__upload-form {
    margin-top: 10px;
}
.magic-assets-widget__form-container {
    overflow: auto;
    height: 100%;
}
.magic-assets-widget__right-bar .magic-assets-widget__form {
    height: calc(100% - 150px);
    margin-bottom: 40px;
    display: block;
}
.magic-assets-widget__right-bar .magic-assets-widget__form .magic-assets-widget__submit {
    margin-top: 5px;
}
.magic-assets-widget__info-popup__content {
    margin-bottom: 20px;
}
.ui-widget-content a.magic-assets-widget__link {
    color: #ffffff;
}
.magic-assets-widget__info-popup .magic-assets-widget__link {
    background: #2571bf;
    border-radius: 18px;
}
.magic-assets-widget__info-popup .magic-assets-widget__link:hover {
    background: #1f66bf;
}
.magic-assets-widget .magic-assets-disabled input,
.magic-assets-widget .magic-assets-disabled textarea {
    background-color: #ececec;
}
.magic-assets-widget .magic-loader-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .4);
}
.magic-loader-shadow.magic-loader-shadow__body {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .4);
}
.magic-loader,
.magic-loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.magic-loader {
    margin: 60px auto;
    font-size: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.magic-asset-front {
    z-index: 1010;
}
