.starterblog-mt-divider {
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
    display: block;
    padding: 7px 12px;
    margin-top: 15px;
    margin-left: -12px;
    margin-right: -12px;
    font-weight: 600;
}


/* NEW meta box */
#starterblog_page_settings {
	margin-bottom: 50px;
    .inside {
        padding: 0px;
        margin-top: 0px;
    }
}

.starterblog-mt-media {
    display: block;
    .starterblog--add {
        display: inline-block;;
    }
    .starterblog--remove {
        display: none;
    }
    .starterblog-mt-media-preview {
        display: block;
    }
    .starterblog-image-preview {
        img {
            max-width: 100%;
            height: auto;
        }
    }
    &.attachment-added {
        .starterblog--add {
            display: none;
        }
        .starterblog--remove {
            display: inline-block;
        }
    }
}
.starterblog-mt-box-inner {
    width: 100%;
}
.starterblog-mt-tabs {
    display: flex;
    width: 100%;
    .starterblog-mt-tabs-list {
        flex-basis: 20%;
        margin: 0;
        float: left;
        line-height: 1em;
        padding: 0 0 10px;
        position: relative;
        background-color: #fafafa;
        border-right: 1px solid #eee;
        box-sizing: border-box;
        li {
            margin: 0px;
            padding: 0px;
            i {
                font-size: 14px;
                margin-top: 4px;
                margin-right: 5px;
            }
            &.active {
                a {
                    color: #555;
                    position: relative;
                    background-color: #eee;
                }
            }
        }
        a {
            margin: 0;
            padding: 10px;
            display: block;
            box-shadow: none;
            text-decoration: none;
            line-height: 20px!important;
            border-bottom: 1px solid #eee;
        }
    }
    .starterblog-mt-tab-contents {
        flex-basis: 80%;
        .starterblog-mt-tab-cont {
            display: none;
            &.active {
                display: block;
            }
        }
    }

}

.starterblog-mt-field {
    display: flex;
    padding: 15px;
    align-items: start;
    border-bottom: 1px solid #eee;
    &:last-child {
        border-bottom: 0px;
    }
    .starterblog-mt-field-label {
        flex-basis: 25%;
    }
    .starterblog-mt-field-inner {
        flex-basis: 75%;
        p.field-p {
            &:first-child {
                margin-top: 0px;
            }
            &:last-child {
                margin-bottom: 0px;
            }
        }
    }
    .starterblog-image-preview {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        height: 100px;
        background: #eee;
        border: 1px solid #eee;
        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }
}
.cd-box {
    .starterblog-mt-box {
        .starterblog-mt-field {
            padding-left: 0px;
            padding-right: 0px;
        }
    }
}

#side-sortables{
	.starterblog-mt-tabs{
		display: block;
	}
	.starterblog-mt-tabs-list{
		display: flex;
		float: none;
		border-bottom: 1px solid #eee;
		padding: 0;
		margin-top:0 !important;
		.starterblog-mt-tab-cont{
			a{
				font-size: 13px;
				border-bottom: 0;
				position: relative;
				&::before, &::after{
					left: 50%;
					opacity: 0;
					position: absolute;
					z-index: -9999999;
					font-size: 12px;
				}
				&::before{
					border-style: solid;
					border-width: 1em 0.75em 0 0.75em;
					border-color: #3E474F transparent transparent transparent;
					bottom: 100%;
					content: '';
					transform: translateX(-50%);
				}
				&::after{
					background: #3E474F;
					border-radius: .25em;
					bottom: calc( 100% + 0.75em );
					color: #EDEFF0;
					display: block;
					content: attr(data-title);
					padding: 0.3em 1em;
					text-align: center;
					min-width: 5em;
					width: max-content;
					transform: translateX(-50%);
				}
				&:hover::before,
				&:hover::after{
					opacity: 1;
					z-index: 9999999;
				}
			}
			.dashicons{
				font-size: 16px;
				margin-top: 0;
				margin-right: 5px;
				line-height: 20px;
			}
		}
	}
	.starterblog-mt-tab-contents{
		display: block;
		float: none;
		margin-bottom: 30px;
		.starterblog-mt-field {
			display: block;
			.starterblog-mt-field-label{
				width: 100%;
				display: block;
				margin-bottom: 0.5em;
			}
			.starterblog-mt-field-inner{
				width: 100%;
				> * {
					width: 100%;
				}
				> select {
					width: 85%;
				}
			}
			
		}
	}
}

