.cmb2-postbox .inside {
    overflow: hidden;
}

.cmb2-postbox input[type="text"] {
    width: 100%;
    margin: 0;
}

.cmb2-postbox .cmb-row {
    margin: 0 !important;
}

.cmb2-postbox .cmb-th, .cmb2-postbox .cmb-td {
    width: 100% !important;
}

.cmb2-postbox .column-5 {
    float: left;
    width: 20%;
    min-height: 80px;
    border: none;
}

.cmb-repeat-group-wrap .inside {
    padding-right: 0;
}

.cmb-repeat-group-wrap .cmb-repeatable-grouping {
    width: 47%;
    float: left;
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

.cmb-repeat-group-wrap.column-3 .cmb-repeatable-grouping {
    width: 30.4%;
}

.cmb-repeat-group-wrap .cmb-repeatable-grouping:nth-child(even) {
    margin-right: 0px !important;
}

.cmb-repeat-group-wrap.column-3 .cmb-repeatable-grouping:nth-child(even) {
    margin-right: 10px !important;
}

.cmb-repeat-group-wrap .cmb-add-row {
    clear: both;
    margin: 10px 0;
}

.cmb-repeat-group-wrap.spec_column {
    width: 46%;
    float: left;
    padding: 30px 20px !important;
    overflow: hidden;
    display: block;
    border: none !important;
}

.cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping {
    width: 100%;
    float: none;
    padding: 0;
    border: 0;
    border: 1px solid #adadad;
    margin: 0 !important;
}

.cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping .cmbhandle, .cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping .cmbhandle-title, .cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping .dashicons-before {
    display: none;
}

.cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping .inside .cmb-row {
    float: left;
    width: 40%;
    padding: 10px;
}

.cmb-repeat-group-wrap.spec_column .cmb-repeatable-grouping .inside .cmb-row:last-child {
    width: 10%;
    padding-top: 35px;
}

/* for all cmb image  */

.cmb-type-file .img-status {
    margin: 0 5% !important;
    overflow: visible;
}

.cmb-type-file .img-status img {
    max-width: 95% !important;
}

/* for hero image  */

#cmb2-metabox-caravan_preview_metabox .column-2 {
    width: 50%;
    float: left;
    overflow: hidden;
    height: 400px;
}

#cmb2-metabox-caravan_preview_metabox .column-2.description textarea {
    height: 300px;
    margin-top: 25px;
}

/* ui for checkbox ===================================== */

input[type="checkbox"].cmb2-option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    width: auto;
    height: auto;
    vertical-align: middle;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    margin: 0 4px;
    background: none;
    box-shadow: none;
}

input[type="checkbox"].cmb2-option:focus {
    box-shadow: none;
}

input[type="checkbox"].cmb2-option:after {
    content: '';
    font-size: 8px;
    font-weight: 400;
    line-height: 18px;
    text-indent: -14px;
    color: #ffffff;
    width: 36px;
    height: 18px;
    display: inline-block;
    background-color: #a7aaad;
    border-radius: 72px;
    box-shadow: 0 0 12px rgb(0 0 0 / 15%) inset;
}

input[type="checkbox"].cmb2-option:before {
    content: '';
    width: 14px;
    height: 14px;
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    margin: 0;
    border-radius: 50%;
    background-color: #ffffff;
}

input[type="checkbox"].cmb2-option:checked:before {
    left: 20px;
    margin: 0;
    background-color: #ffffff;
}

input[type="checkbox"].cmb2-option, input[type="checkbox"].cmb2-option:before, input[type="checkbox"].cmb2-option:after, input[type="checkbox"].cmb2-option:checked:before, input[type="checkbox"].cmb2-option:checked:after {
    transition: ease .15s;
}

input[type="checkbox"].cmb2-option:checked:after {
    content: 'ON';
    background-color: #2271b1;
}
#adminmenu #menu-posts-dealer div.wp-menu-image::before,
#adminmenu #menu-posts-manufacturer div.wp-menu-image::before {
    content: ' ';
    background-image: url('../img/caravan-3.png');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center center;
    background-size: contain;
    filter: invert(0.7);
}

