#siteorigin-settings-tab-wrapper{
	margin-bottom: 15px;
}

.colorpicker-wrapper{
	position: relative;

	.color-indicator{
		display: block;
		width: 23px;
		height: 23px;
		margin-right: 10px;
		float: left;
	}

	.farbtastic-container{
		position: absolute;
		top: 28px;
		left: 0px;
		background: green;

		padding: 8px;
		background: #F8F8F8;
		border: 1px solid #E0E0E0;

		z-index: 2;
	}
}

.media-field-wrapper {
	position: relative;
	display: block;
	float: left;
	background: #f4f4f4;
	background: -moz-linear-gradient(top,  #f9f9f9 0%, #f2f2f2 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#f2f2f2));
	background: -webkit-linear-gradient(top,  #f9f9f9 0%,#f2f2f2 100%);
	background: -o-linear-gradient(top,  #f9f9f9 0%,#f2f2f2 100%);
	background: -ms-linear-gradient(top,  #f9f9f9 0%,#f2f2f2 100%);
	background: linear-gradient(to bottom,  #f9f9f9 0%,#f2f2f2 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#f2f2f2',GradientType=0 );
	border: 1px solid #bbbbbb;

	box-shadow: 0 1px 2px rgba(0,0,0,0.1);

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;

	height: 32px;

	&:hover{
		background: #ffffff;
		background: -moz-linear-gradient(top,  #ffffff 0%, #f7f7f7 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f7f7f7));
		background: -webkit-linear-gradient(top,  #ffffff 0%,#f7f7f7 100%);
		background: -o-linear-gradient(top,  #ffffff 0%,#f7f7f7 100%);
		background: -ms-linear-gradient(top,  #ffffff 0%,#f7f7f7 100%);
		background: linear-gradient(to bottom,  #ffffff 0%,#f7f7f7 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f7f7f7',GradientType=0 );

		box-shadow: 0 1px 2px rgba(0,0,0,0.15);
	}

	> div {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		float: left;
		height: 32px;
	}

	.current{
		padding: 4px;
		border-right: 1px solid #bbb;
		position: relative;

		box-shadow: 1px 0 0 #FFF;

		.title{
			display: none;
			position: absolute;
			bottom: 34px;
			left: 0;
			padding: 4px 12px;
			background: #333;
			color: #CCC;
			font-weight: bold;
			width: auto;
			white-space: nowrap;
		}
	}

	.thumbnail-wrapper{
		border: 1px solid #999;
		line-height: 0;
		box-shadow: 0px 1px 1px #FFF;
		width: 22px;
		height: 22px;

		background: #cfcfcf;
		background: -moz-linear-gradient(top,  #cfcfcf 0%, #dbdbdb 50%, #d1d1d1 51%, #cccccc 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cfcfcf), color-stop(50%,#dbdbdb), color-stop(51%,#d1d1d1), color-stop(100%,#cccccc));
		background: -webkit-linear-gradient(top,  #cfcfcf 0%,#dbdbdb 50%,#d1d1d1 51%,#cccccc 100%);
		background: -o-linear-gradient(top,  #cfcfcf 0%,#dbdbdb 50%,#d1d1d1 51%,#cccccc 100%);
		background: -ms-linear-gradient(top,  #cfcfcf 0%,#dbdbdb 50%,#d1d1d1 51%,#cccccc 100%);
		background: linear-gradient(to bottom,  #cfcfcf 0%,#dbdbdb 50%,#d1d1d1 51%,#cccccc 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cfcfcf', endColorstr='#cccccc',GradientType=0 );

		box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);

		img{
			height: 100%;
			width: 100%;

			box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
		}
	}

	.media-upload-button {
		display: inline-block;
		color: #666;
		text-decoration: none;
		text-shadow: 0 1px 0 #FFF;
		font-weight: 600;
		font-size: 11px;
		padding: 9px 8px 8px 6px;
		outline: none;
		cursor: pointer;
	}

	&:hover .media-upload-button{
		color: #707070;
	}
}

.media-remove-button{
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	text-decoration: none;
	color: #AAA;
	font-size: 11px;
	padding: 8px 0 8px 8px;

	&:hover{
		color: #BC0B0B;
	}
}

.so-settings-widget-form {
	padding: 25px;
	background: #FDFDFD;
	border: 1px solid #cccccc;

	> *:first-child {
		margin-top: 0;
	}

	> *:last-child {
		margin-bottom: 0;
	}

	.siteorigin-widget-form-main {
		margin-bottom: 0;
	}

	.siteorigin-widget-preview {
		display: none !important;
	}

	.siteorigin-widget-help-link {
		margin-bottom: 0 !important;
	}
}

#siteorigin-settings-submit {
	display: block;
	float: left;

	&:active, &:focus {
		outline: none;
	}
}

#siteorigin-theme-support {
	font-size: 0.9em;
	display: block;
	color: #666666;
	margin-left: 1em;
	text-decoration: none;
	float: left;
	margin-top: 0.45em;
}

#siteorigin-theme-support:hover {
	color: #444444;
	text-decoration: underline;
}