@import "mixins";
@import "variables";

.edgtf-meta-box {
	margin: -6px -12px -12px;

	.edgtf-meta-box-holder {
		width: 100%;
	}

	.edgtf-meta-box-holder .edgtf-page-form-section th {
		width: 250px;
	}

	.edgtf-meta-box-holder .edgtf-page-form-section th p {
		font-weight: 400;
		color: #9e9e9e;
	}

	.edgtf-portfolio-media, .edgtf-portfolio-additional-item {
		background:#fff;
		margin-bottom: 5px;
	}

	.edgtf-portfolio-media  .edgtf-page-form-section {
		border-top:none
	}

	.edgtf-meta-box-holder .edgtf-portfolio-media .edgtf-page-form-section,
	.edgtf-meta-box-holder .edgtf-portfolio-additional-item .edgtf-page-form-section {
		border-bottom: none;
		display: table;
		width: 100%;
	}

	.edgtf-portfolio-toggle-holder {
		display: table;
		width: 100%;
		border:1px solid #dae0e8;
		position: relative;
		cursor:pointer;
	}

	.edgtf-portfolio-toggle {
		display: table-cell;
		vertical-align: middle;
		background: #ebeef2;
		color: #6F858D;
		height: 40px;
		padding: 0 10px;
	}

	.edgtf-portfolio-media .edgtf-portfolio-toggle-content,
	.edgtf-portfolio-additional-item .edgtf-portfolio-toggle-content {
		border: 1px solid #dbdee0;
		border-top: none;
	}

	.edgtf-portfolio-toggle .number {
		display: inline-block;
		background-color:#ABB7C7;
		color:#fff;
		width: 35px;
		text-align: center;
		border-radius: 5px;
		margin-right: 20px;
		padding:1px 5px
	}

	.edgtf-portfolio-toggle.edgtf-portfolio-control {
		text-align: right;
		padding-right: 40px;
		color:#ABB7C7;
		font-size:14px
	}

	.edgtf-portfolio-toggle.edgtf-portfolio-control a {
		color:#ABB7C7;
	}

	.edgtf-portfolio-toggle.edgtf-portfolio-control a.remove-portfolio-media,
	.edgtf-portfolio-toggle.edgtf-portfolio-control a.remove-portfolio-item {
		position: absolute;
		right: 0;
		top: 0;
		padding: 13px 11px 14px 5px;
		line-height:0;
	}

	.edgtf-portfolio-add {
		padding: 20px;
	}

	.edgtf-portfolio-add a:first-child {
		margin-right: 3px;
	}

	.edgtf-portfolio-add a:last-child {
		margin-right: 10px;
	}

	.edgtf-portfolio-add i {
		margin-right:5px;
	}

	.edgtf-meta-box-hidden {
		display: none;
	}

	.edgtf-meta-box-holder .edgtf-page-form-container-holder .edgtf-page-form-container-holder {
		border-left: none;
		margin-left: 0;
	}

	.edgtf-page.btn-default {
		margin-right:0
	}
}

div.inside > div > div > div.edgtf-page-form-section:first-child {
	border-top: none;
}