
.miniature img {
    width: 100px;
    height: 60px;
}

.wrapper-banner-setting {
    width: 100%
}

.base-settings {
    float: left;
    width: 46%;
}

.base-settings h3 {
    margin: 0 0 10px 0;
}

.base-settings .base-setting-save {
    margin-bottom: 0;
}

.base-settings .list-option li span:not([tooltip]), .section-info-notice .custom-text {
    display: inline-block;
    width: 195px;
}

.base-settings .list-option li {
    margin: 0 0 10px 0;
    height: 30px;
}

.base-settings .list-option li input[type="text"], .base-settings .list-option li select {
    margin: 0;
    width: 200px;
    display: inline-block;
}

.ad-setting .entity-table-tbody tr td {
    text-align: left;
}

.ad-setting .entity-table-tbody tr td {
    padding: 5px;
    vertical-align: top;
}

.ad-setting .entity-table-tbody tr td.type {
    text-align: center;
}

.widget-table-body .wrapper-banner-setting .ad-setting {
    float: right;
    width: 48%;
    padding: 10px;
    height: 327px;
}

.widget-table-body .wrapper-banner-setting .ad-setting .ad-setting-table-wrapper {
    height: 226px;
    overflow-x: hidden;
    overflow-y: auto;
}

.widget-table-body .wrapper-banner-setting .ad-setting .ad-setting-table-wrapper .widget-table {
    margin: 0 1px;
}

.ad-setting .add-new-button {
    float: right;
    margin: 0 0 10px 0;
}

.preview {
    margin: 20px 0 0 0;
    padding: 10px
}

.preview h2 {
    font-size: 16px;
}

.preview .reload {
    margin: 10px 0 5px 0;
}

.block-for-form .type-img {
    display: block;
    padding: 0;
}

.block-for-form .type-img li {
    margin: 5px 0;
}

.block-for-form .type-img li span {
    display: inline-block;
    width: 195px;
}

.block-for-form .type-html .custom-form-wrapper {
    padding: 0;
}

.block-for-form .type-html .custom-form-wrapper li {
    margin: 5px 0;
}

.block-for-form .type-html .custom-form-wrapper > li > span {
    display: inline-block;
    margin: 0 0 5px 0;
    font-weight: bold;
}

.nameaction {
    text-align: center;
}

.reveal-body ul li {
    list-style-type: none;
}

.reveal-body ul li input, .reveal-body ul li select {
    width: 200px;
    display: inline-block;
}

.entity-table-tbody .type {
    text-align: center;
}

.ad-setting .widget-table .action-list {
    width: 100px;
}

.ad-setting .widget-table tr td {
    vertical-align: middle;
}

.ad-setting .widget-table tr td:first-child {
    text-align: center;
}

.ad-setting .widget-table tr th:first-child {
    width: 100px;
}

.entity-table-tbody .type img {
    max-width: 100%;
    width: 50px;
}

.section-info-notice input[type="checkbox"] {
    margin: 0;
}

.section-info-notice .wrapper-banner-setting .widget-table-action {
    background: #fff;
}

.ad-editor .text-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ad-editor .text-list li .custom-text {
    min-width: 95px;
    width: 100px;
}

.ad-editor .text-list li {
    margin: 0 0 10px 0;
}

.ad-editor .text-list li input[type="text"] {
    margin: 0;
}

.link-success {
    padding: 10px;
    color: #4d8b52;
    border: 1px solid #aed0b1;
    background: #d7f4ce;
    margin: 0 0 10px 0;
}

.link-result {
    color: #92862e;
    border: 1px solid #e1d260;
    background: #fff6ae;
    padding: 10px;
    margin: 0 0 10px 0;
}

#mg-behind-popup {
    background: #000;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    position: fixed;
    z-index: 554;
    top: 0;
    left: 0;
}

.mg-namebanner {
    margin-right: 13px;
    height: 30px;
    line-height: 30px;
    text-indent: 10px;
    font-weight: bold;
    font-size: 14px;
}

.mg-close-banner {
    position: absolute;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background: url("../images/close-icon.png") no-repeat;
    top: 10px;
    right: 10px;
}

#for-closing {
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    position: absolute;
    z-index: 101;
}

.banner-preview {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    margin: 20px 0 0 0;
    border-radius: 3px;
}

.banner-preview h2 {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 14px;
}

.banner-preview .mg-notice #advertising a img {
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.banner-preview .mg-notice #advertising a {
    display: block;
    text-align: center;
}

.banner-preview .mg-notice {

    margin: 0 auto;
    position: relative;
    z-index: 0;
}

.section-info-notice .base-settings h3 {
    margin: 10px;
}

.section-info-notice .disp {
    display: inline-block;
    width: initial !important;
}

.section-info-notice #cke_editor1 {
    border: 1px solid #e6e6e6 !important;
}

.section-info-notice .ad-editor .type-img li span {
    width: 100px;
}

.section-info-notice .main-table th:nth-child(2) {
    text-align: center;
}

.section-info-notice .main-table th:nth-child(3) {
    text-align: right;
}

.section-info-notice .ad-setting {
    min-height: 383px;
    border: 1px solid #e6e6e6;
}


/*публичная часть баннера*/
.mg-notice {
    background: #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    padding: 10px;
    z-index: 555;
    position: fixed;
}

.mg-content img {
    position: inherit;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
