#sparta-megamenu-choose-icons .main {
    padding: 20px;
}

#sparta-megamenu-choose-icons .main .search {
    display: inline-block;
    padding: 6px 8px;
    width: 260px;
    font-size: 11px;
}

#sparta-megamenu-choose-icons .top {
    margin-bottom: 20px;
}

#sparta-megamenu-choose-icons .sparta-icons {
    max-height: 300px;
    overflow-y: auto;
}

#sparta-megamenu-choose-icons .sparta-icon {
    display: none;
    margin: 3px;
    width: 50px;
    height: 50px;
    border: 1px solid #eee;
    line-height: 50px;
    text-align: center;
    font-size: 30px;
}

#sparta-megamenu-choose-icons .sparta-icon.show {
    display: inline-block;
}

#sparta-megamenu-choose-icons .sparta-icon:hover,
#sparta-megamenu-choose-icons .sparta-icon.active {
    cursor: pointer;
    border-color: #078dce;
    color: #078dce;
    background: #f6fafc;
}

#menu-to-edit .link-to-original {
    display: none;
}

#menu-to-edit .menu-item:hover .item-controls:before {
    display: inline-block;
}

#menu-to-edit .item-controls:hover:before {
    cursor: pointer;
}

#menu-to-edit .description {
    float: none;
}

#menu-to-edit .menu-item .field-sparta-mega-menu {
    display: none;
}

#menu-to-edit .menu-item.menu-item-depth-0 .field-sparta-mega-menu {
    display: block;
}

#menu-to-edit .sparta-wrapper-mega-menu {
    margin: 20px 0 20px -10px;
    padding: 0 10px 0;
    background-color: #f5f5f5;
}

#menu-to-edit .sparta-wrapper-mega-menu label {
    display: block;
    font-style: italic;
    margin-bottom: 2px;
}

#menu-to-edit .sparta-wrapper-mega-menu .hidden-field {
    display: none !important;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-icons {
    padding-top: 10px;
    float: left;
    width: 50%;
}

#menu-to-edit .sparta-wrapper-mega-menu.hidden-field {
    display: none !important;
}

#menu-to-edit .sparta-wrapper-mega-menu:before {
    clear: both;
    content: '';
    display: block;
}

#menu-to-edit .sparta-wrapper-mega-menu.inactive .sparta-menu-extra-field {
    display: none;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector {
    color: white;
    background-color: #0085ba;
    display: inline-block;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid #bbbbbb;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector .choose {
    cursor: pointer;
    display: inline-block;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector:hover {
    border-color: #999;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector span {
    display: inline-block;
    height: 35px;
    line-height: 35px;
    vertical-align: middle;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector .label {
    font-weight: normal;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector .sparta-preview-icon {
    width: 35px;
    text-align: center;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-icon-selector .sparta-preview-icon i {
    line-height: 35px;
    font-size: 20px;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-remove {
    color: #aaa;
    font-size: 20px;
    padding: 0 5px;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-remove:before {
    content: "\f335";
    font-family: Dashicons;
}

#menu-to-edit .sparta-wrapper-mega-menu .sparta-remove:hover {
    cursor: pointer;
    color: #666;
}

#menu-to-edit .sparta-wrapper-mega-menu a {
    text-decoration: none;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align {
    text-align: center;
    padding-top: 10px;
    float: left;
    width: 50%;
    min-height: 35px;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input {
    position: relative;
    top: 8px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    z-index: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #555;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input:hover {
    color: #333;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input:checked {
    color: #078dce;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input:before {
    display: none;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input:after {
    font-family: Dashicons;
    position: absolute;
    z-index: 1;
    font-size: 20px;
    top: 10px;
    left: 0;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input[value='left']:after {
    content: "\f206";
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input[value='center']:after {
    content: "\f207";
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-align input[value='right']:after {
    content: "\f208";
}

/*sub-position*/
.menu-item .field-sparta-sub-position {
    display: none;
}

.menu-item.menu-item-depth-0 .field-sparta-sub-position {
    display: block;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input {
    position: relative;
    top: 8px;
    border: none;
    background-color: transparent;
    box-shadow: none;
    z-index: 0;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #555;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input:hover {
    color: #333;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input:checked {
    color: #078dce;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input:before {
    display: none;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input:after {
    font-family: Dashicons;
    position: absolute;
    z-index: 1;
    font-size: 20px;
    top: 10px;
    left: 0;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input[value='left']:after {
    content: "\f206";
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input[value='center']:after {
    content: "\f207";
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input[value='right']:after {
    content: "\f208";
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-sub-position input[value='default']:after {
    content: "\f108";
}

/*end_sub-position*/
#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-mega-menu .help:hover {
    color: #078dce;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-mega-menu .sparta-hide {
    display: none;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-mega-menu[data-type="column"] .sparta-layout-hide-title {
    display: inline-block;
    line-height: 39px;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-mega-menu[data-type="builder"] .open-builder {
    display: inline-block;
    min-width: 65px;
}

#menu-to-edit .sparta-wrapper-mega-menu .field-sparta-mega-menu[data-type="builder"] .sparta-waring-builder {
    display: block;
    font-size: 0.9em;
    font-style: italic;
    color: #888;
    margin: 5px 0;
}

#menu-to-edit .sparta-field {
    margin-bottom: 10px;
    display: inline-block;
}

#menu-to-edit .sparta-field .sparta-label {
    display: block;
    margin-bottom: 5px;
}

#menu-to-edit .sparta-field.sparta-field-empty .sparta-remove {
    visibility: hidden;
}

#menu-to-edit .sparta-field-layout {
    width: 100%;
}

#menu-to-edit .sparta-field-type-layout {
    width: 150px;
    line-height: 37px;
    height: 37px;
}

.sparta-col-50 {
    float: left;
    width: 50%;
}

.sparta-row:after {
    content: '';
    display: table;
    clear: both;
}