/*
	The styles below were ripped from the Media Modal in WordPress 3.5
	~~ Thanks for building a beautiful Modal UI ( that I could steal )
*/

.gc-modal-open {
	overflow: hidden;

	#gc-items-search {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 160001;
	}

	#gc-tablenav {
		margin: 0 16px 0 0;
	}

	#gc-items-search {
		margin-left: 16px;
	}
}

.gc-bb-modal {
	position: fixed;
	top: 30px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	z-index: 160000;
	font-family: sans-serif;
	font-size: 14px;
}

.gc-bb-modal .gc-bb-modal-close {
	position: absolute;
	text-decoration: none;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	z-index: 1000;
	transition: color .1s ease-in-out, background .1s ease-in-out;
	color: #444;
}

.gc-bb-modal .gc-bb-modal-close:hover,
.gc-bb-modal .gc-bb-modal-close:focus {
	color: #2ea2cc;
}

.gc-bb-modal .gc-bb-modal-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	min-height: 300px;
	background: #fff;
}

.gc-bb-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 360px;
	background: #000;
	opacity: .7;
	z-index: 159900;
}

.gc-bb-modal-title h1 {
	padding: 16px;
	line-height: 0;
}

.gc-bb-modal-nav-tabs {
	top: 74px;
}

.gc-bb-modal-main {
	top: 105px;
	padding: 16px;

	&.has-nav-tabs {
		top: 108px;
	}
}

.text-right {
	text-align: right;
}

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

.gc-modal-tabs {
	.hidden {
		display: none;
	}
}

.gc-modal-tabs .gc-disabled td:not( .gc-item-wp-post-title ) {
	opacity: 0.4;
}

.gc-set-mapping {
	.gc-cloak {
		position: absolute;
		top: 84px;
		left: 200px;
		right: 0;
		bottom: 0;
		height: auto;
		width: auto;
		background: #fff;
		opacity: .5;
		z-index: 101;
	}

	.gc-mapping-metabox {
		position: absolute;
		right: 16px;
		bottom: 41px;
		width: 270px;
		z-index: 102;

		select {
			width: 250px;
		}
	}
}
