.rooten-layout-select li {
    float: left;
    margin-right: 5px;
    margin-bottom: 1px;
}

.rooten-layout-select li, 
.rooten-layout-select label {
    display: inline-block;
}

.rooten-layout-select input {
    display: none;
}

.rooten-layout-select input:checked + img {
    outline: 2px solid #00a0d2;
}

.rooten-alert {
    margin-bottom: 20px;
    padding: 15px 15px 15px 20px;
    background: #ebf7fd;
    color: #2d7091;
    display: block;
}

.rooten-alert.warning {
    background: #fffceb;
    color: #e28327;
}

.rooten-alert.danger {
    background: #fff1f0;
    color: #d85030;
}
.rooten-alert.success {
    background: #f2fae3;
    color: #659f13;
}

.menu-item:not(.menu-item-depth-0) .rooten-menu-setting-columns,
.menu-item:not(.menu-item-depth-0) .rooten-menu-setting-fullwidth,
.menu-item:not(.menu-item-depth-0) .rooten-menu-setting-alignment {
    display: none;
}

.menu-item.menu-item-depth-0 .rooten-menu-setting-dropdown-classic {
    display: none;
}
.rooten-menu-setting-background .attachment-media-view .placeholder {
    width: 100%;
    position: relative;
    text-align: center;
    cursor: default;
    border: 1px dashed #b4b9be;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 9px 0;
    line-height: 20px;
    margin-bottom: 10px;
}

.rooten-menu-setting-background .remove_image {
    position: absolute;
    right: 5px;
    top: 10px;
    color: red;
    text-decoration: none;
    font-size: 14px;  
}
.rooten-menu-setting-background .remove_image:hover {
    color: darkred;
}

/* metabox settings */
.rwmb-meta-box .rwmb-tab-nav li {
    border: none;
    background: none;
    border-bottom: 3px solid transparent;
}

.rwmb-meta-box .rwmb-tab-nav .rwmb-tab-active {
    border: none;
    background: none;
    border-bottom: 3px solid #0085ba;
    font-weight: 600;
}
.rwmb-meta-box .rwmb-tab-nav a {
    padding: 15px;
}

.rwmb-meta-box .rwmb-tab-panels .rwmb-tab-panel {
    background: none;
    border: none;
}



/* widget control */
.widget-control-actions div.alignleft {
    margin-top: 5px;
}

.rooten-visiblity-control {
    position: relative;
    margin: 1em 0;
    text-align: left;
    display: flex;
}
.rooten-visiblity-control li {
    display: inline-block;
    position: relative;
    width: 25%;
    box-sizing: border-box;
}


.rooten-visiblity-control li input {
    display: none;
}

.rooten-visiblity-control li label {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rooten-visiblity-control li i:before,
.rooten-visiblity-control li i:before {
    width: 16px;
    height: 16px;
    position: absolute;
    z-index: 2;
    left: 5px;
}

.rooten-visiblity-control li.display-xlarge-field i:before {
    content: "\f472";
}
.rooten-visiblity-control li.display-large-field i:before {
    content: "\f547";
}
.rooten-visiblity-control li.display-medium-field i:before {
    content: "\f471";
}
.rooten-visiblity-control li.display-small-field i:before {
    content: "\f470";
}

.rooten-visiblity-control li input:checked + i:before {
    opacity: 0.3;
}
.rooten-visiblity-control li input:checked + i:after {
    content: "\f335";
    z-index: 3;
    color: red;
}


/* RTL Style */
.rtl .rooten-visiblity-control {
    text-align: right;
}
.rtl .rooten-visiblity-control li i:before,
.rtl .rooten-visiblity-control li i:before {
    right: 5px;
}



.rooten-admin-container, 
.demo-import-message{
    position: relative;
    overflow: auto;
    margin: 24px 0;
    padding: 30px;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04);
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    background: #fff;
    font-size: 14px;
    line-height: 2.1em;
}

.demo-import-message-title {
    padding-left: 0;
    padding-right: 0;
    font-size: 20px;
    font-weight: 600;
}

.rooten-admin-container h1{
    margin: 0 0 30px 0;
}

.demo-import-message{
    padding: 100px;
    text-align: center;
}

.rooten-admin-container p, .demo-import-message p{
    font-size: 15px;
}

.success h1{
    color: #72B521;
}

.rooten-admin-container-note{
    background: #fff8e3;
    padding: 20px 20px 20px 20px;
    border-radius: 4px;
    margin: 30px 0;
}

.button-primary.size_big {
    font-size: 16px;
    padding: 0 22px;
    height: 38px;
}

.rooten-admin-container-error{
    background: #FAE8E9;
    color: #99151D;
    padding: 6px 20px;
}


.post-type-rooten-custom-template #postimagediv {
    display: none;
}