/*
 *	Quark CSS3 additions to above simple theme
 */
.wpui-quark .ui-tabs {
	padding: 0px !important;
}


.wpui-quark .ui-tabs {
/*	background: -moz-linear-gradient( top, #EEE, #AAA);*/
	background: #151515;
	background: -moz-linear-gradient(top , #6E4A40, #4A2F35);
	background: -webkit-gradient(linear, left top, left bottom , from(#6E4A40), to(#4A2F35));
	background: -webkit-linear-gradient(top , #6E4A40, #4A2F35);
	background: -o-linear-gradient(top , #6E4A40, #4A2F35);	
	border: 0px !important
}

.wpui-quark .ui-tabs .ui-tabs-panel .wp-tab-content > .wp-tabs .ui-tabs {
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-o-box-shadow: none !important;
}

.wpui-quark .ui-tabs > .wp-tabs .ui-tabs {
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-o-box-shadow: none !important;
}

.wpui-quark .ui-tabs .ui-tabs-panel {
   	background: #593C34;
	background: -moz-linear-gradient(top , #6E4A40, #4A2F35);
	background: -webkit-gradient(linear, left top, left bottom , from(#6E4A40), to(#4A2F35));
	background: -webkit-linear-gradient(top , #6E4A40, #4A2F35);
	background: -o-linear-gradient(top , #6E4A40, #4A2F35);
	text-shadow: 0 1px 0 #000;
	border-top: 1px solid #9C6C5F;
	color: #DBCCB4;
	padding: 10px;
}

.wpui-quark .ui-tabs .ui-tabs-panel a {
	color: #DBCCB4;
}

.wpui-quark ul.ui-tabs-nav {
	border-bottom: 1px solid #4A2F35;
	background: #444;
	background: #222;
	background: -moz-linear-gradient(top, #222222, #333333);
	background: -webkit-gradient(linear, left top, left bottom, from(#222222), to(#333));
	background: -webkit-linear-gradient(top, #222222, #333);
	background: -o-linear-gradient(top, #222222, #333);
	padding-top: 10px;
	padding-left: 10px;
}

.wpui-quark ul.ui-tabs-nav li {
	background: #C7A777;
    background: -moz-linear-gradient(top , #DBC6A4, #C7A777);
    background: -webkit-gradient(linear, left top, left bottom , from(#DBC6A4), to(#C7A777));
    background: -webkit-linear-gradient(top , #DBC6A4, #C7A777);
    background: -o-linear-gradient(top , #DBC6A4, #C7A777);
	border-bottom: 1px solid #4A2F35;
	-moz-box-shadow    : 0 1px 0 #FFF inset;
	-webkit-box-shadow : 0 1px 0 #FFF inset;
	-o-box-shadow      : 0 1px 0 #FFF inset;
	box-shadow         : 0 1px 0 #FFF inset;
	margin-right: 3px;
}

.wpui-quark ul.ui-tabs-nav.ul-bottom li {
	border-radius          : 0 0 5px 5px;
	-moz-border-radius     : 0 0 5px 5px;
	-webkit-border-radius  : 0 0 5px 5px;
	-o-border-radius       : 0 0 5px 5px;
}

.wpui-quark ul.ui-tabs-nav li a {
	color: #000;
	text-shadow: 0 1px 0 #FFF;
}


.wpui-quark ul.ui-tabs-nav li.ui-state-active {
	background: #593C34;
	background: -moz-linear-gradient(top, #8F675B, #6E4A40);
	background: -webkit-gradient(linear, left top, left bottom, from(#8F675B), to(#6E4A40));
	background: -webkit-linear-gradient(top, #8F675B, #6E4A40);
	background: -o-linear-gradient(top, #8F675B, #6E4A40);
	border: 1px solid #444;
	border-bottom: 0px !important;
	bottom: -2px;
	-moz-box-shadow    : 0 1px 0 #DB9E8C inset;
	-webkit-box-shadow : 0 1px 0 #DB9E8C inset;
	-o-box-shadow      : 0 1px 0 #DB9E8C inset;
	box-shadow         : 0 1px 0 #DB9E8C inset;
}

.wpui-quark ul.ui-tabs-nav.ul-bottom li.ui-state-active {
	background: -moz-linear-gradient(top, #4A2F35, #57373E);
	background: -webkit-gradient(linear, left top, left bottom, from(#4A2F35), to(#8F675B));
	background: -webkit-linear-gradient(top, #4A2F35, #8F675B);
	background: -o-linear-gradient(top, #4A2F35, #8F675B);
	border-bottom: 2px solid #000;
	border-top: 0px;
}


.wpui-quark ul.ui-tabs-nav li.ui-state-active a {
	color: #EBD4B0;
	text-shadow: 0 1px 0 #000;
}

.wpui-quark .ui-button {
	background: #C7A777;
	background: -moz-linear-gradient(top, #DBC6A4, #C7A777);
	background: -webkit-gradient(linear, left top, left bottom, from(#DBC6A4), to(#C7A777));
	background: -webkit-linear-gradient(top, #DBC6A4, #C7A777);
	background: -o-linear-gradient(top, #DBC6A4, #C7A777);
	text-shadow: 0 1px 0 #EBD4B0;
	color: #000 !important;
	border: 1px solid #4A2F35;
	padding: 4px 7px;
	text-decoration: none;
}


.wpui-quark .wp-tab-content a.ui-button {
	float: right;
	margin: 20px 0;
	text-decoration: none !important;
}


.wpui-quark .ui-tabs-panel .tab-top-nav a,
.wpui-quark .ui-tabs-panel .tab-bottom-nav a {
	background: #C7A777;
	background: -moz-linear-gradient(top, #DBC6A4, #C7A777);
	background: -webkit-gradient(linear, left top, left bottom, from(#DBC6A4), to(#C7A777));
	background: -webkit-linear-gradient(top, #DBC6A4, #C7A777);
	background: -o-linear-gradient(top, #DBC6A4, #C7A777);
	text-shadow: 0 1px 0 #EBD4B0;
	color: #000;
	border-radius          : 4px;
	-moz-border-radius     : 4px;
	-webkit-border-radius  : 4px;
	-o-border-radius       : 4px;
	border: 1px solid #4A2F35;
	padding: 4px 7px;
}

.wpui-quark .ui-tabs h1,
.wpui-quark .ui-tabs h2,
.wpui-quark .ui-tabs h3,
.wpui-quark .ui-tabs h4,
.wpui-quark .ui-tabs h5 {
	color: #F2E5D0 !important;
	text-shadow : 0 1px 0 #000;
}


/* Tabs at bottom */

.wpui-quark ul.ui-tabs-nav.ul-bottom {
	border-top: 2px solid #111 !important;
	padding-top: 0px;
	padding-left: 0px;
	padding-bottom: 10px;

	background: -moz-linear-gradient(top, #333, #222);
	background: -webkit-gradient(linear, left top, left bottom, from(#333), to(#222));
	background: -webkit-linear-gradient(top, #333, #222);
	background: -o-linear-gradient(top, #333, #222);
}

.wpui-quark ul.ui-tabs-nav.ul-bottom li {
	vertical-align:top;

	background: -moz-linear-gradient(top, #C7A777, #DBC6A4);
	background: -webkit-gradient(linear, left top, left bottom, from(#C7A777), to(#DBC6A4));
	background: -webkit-linear-gradient(top, #C7A777, #DBC6A4);
	background: -o-linear-gradient(top, #C7A777, #DBC6A4);
	border-bottom: 1px solid #000;
	border-top: 0px !important;
	top:0px;	
}


.wpui-quark ul.ui-tabs-nav.ul-bottom li.ui-state-active {
	border: 1px solid #000;
	background: none;
	background: -moz-linear-gradient(top, #4A2F35, #57373E);
	background: -webkit-gradient(linear, left top, left bottom, from(#4A2F35), to(#57373E));
	background: -webkit-linear-gradient(top, #4A2F35, #57373E);
	background: -o-linear-gradient(top, #4A2F35, #57373E);	
	border-top: 0px;
	border-bottom: 2px solid #000 !important;
	bottom: 0;
	top:	-2px;
	height: 19px;

}

.wpui-quark ul.ui-tabs-nav.ul-bottom li.ui-state-active a {
	border-top: 0px;
}



.wpui-quark .wp-tabs {
	position:relative;
}



.wpui-quark .ui-accordion h3 {
	margin-bottom: 0px !important;
	margin-top: 2px !important;
	outline: 0;
}

.wpui-quark .ui-accordion-content {
	font: 12px/1.5 'Segoe UI', 'Lucida Grande', 'Arial', sans-serif;
	padding: 10px;
}


.wpui-quark .ui-accordion h3.ui-accordion-header,
.wpui-quark h3.ui-collapsible-header {
	background: #593C34;
	background: -moz-linear-gradient(top, #8F675B, #6E4A40);
	background: -webkit-gradient(linear, left top, left bottom, from(#8F675B), to(#6E4A40));
	background: -webkit-linear-gradient(top, #8F675B, #6E4A40);
	background: -o-linear-gradient(top, #8F675B, #6E4A40);
	border: 1px solid #444;
	border-radius          : 3px;
	-moz-border-radius     : 3px;
	-webkit-border-radius  : 3px;
	-o-border-radius       : 3px;
	padding : 5px 10px;
	font: bold 14px 'Segoe UI', 'Lucida Grande', 'Arial', sans-serif;
	color: #000;
	text-shadow: 0 1px 0 #BA7D6D;
	-moz-box-shadow    : 0 1px 0 #DB9E8C inset;
	-webkit-box-shadow : 0 1px 0 #DB9E8C inset;
	-o-box-shadow      : 0 1px 0 #DB9E8C inset;
	box-shadow         : 0 1px 0 #DB9E8C inset;
}

.wpui-quark h3.ui-collapsible-header:hover,
.wpui-quark h3.ui-accordion-header:hover {
	background: #C7A777;
    background: -moz-linear-gradient(top , #DBC6A4, #C7A777);
    background: -webkit-gradient(linear, left top, left bottom , from(#DBC6A4), to(#C7A777));
    background: -webkit-linear-gradient(top , #DBC6A4, #C7A777);
    background: -o-linear-gradient(top , #DBC6A4, #C7A777);
	color: #473C2B;
	text-shadow: 0 1px 0 #FFD698;
	-moz-box-shadow    : 0 1px 0 #E8D2AE inset;
	-webkit-box-shadow : 0 1px 0 #E8D2AE inset;
	-o-box-shadow      : 0 1px 0 #E8D2AE inset;
	box-shadow         : 0 1px 0 #E8D2AE inset;
}

.wpui-quark h3.ui-collapsible-header.ui-state-active,
.wpui-quark h3.ui-accordion-header.ui-state-active {
	background: #C7A777;
    background: -moz-linear-gradient(top , #DBC6A4, #C7A777);
    background: -webkit-gradient(linear, left top, left bottom , from(#DBC6A4), to(#C7A777));
    background: -webkit-linear-gradient(top , #DBC6A4, #C7A777);
    background: -o-linear-gradient(top , #DBC6A4, #C7A777);	
	border-radius          : 4px 4px 0 0;
	-moz-border-radius     : 4px 4px 0 0;
	-webkit-border-radius  : 4px 4px 0 0;
	-o-border-radius       : 4px 4px 0 0;
	border-bottom:0px;
	color: #473C2B;
	text-shadow: 0 1px 0 #FFD698;	
	-moz-box-shadow    : 0 1px 0 #E8D2AE inset;
	-webkit-box-shadow : 0 1px 0 #E8D2AE inset;
	-o-box-shadow      : 0 1px 0 #E8D2AE inset;
	box-shadow         : 0 1px 0 #E8D2AE inset;
}

.wpui-quark .ui-collapsible-content,
.wpui-quark .ui-accordion .ui-accordion-content {
	background: #FFE7CC;
	color: #282828;
	border: 1px solid #71757F;
	box-shadow         : 0 1px 2px #AAA;
	-moz-box-shadow    : 0 1px 2px #AAA;
	-webkit-box-shadow : 0 1px 2px #AAA;
	-o-box-shadow : 0 1px 2px #AAA;
}

.wpui-quark.ui-dialog {
	-moz-border-radius     : 6px;
	-webkit-border-radius  : 6px;
	-o-border-radius       : 6px;
	border-radius          : 6px;
	font-family: 'Lucida Grande', 'Arial', sans-serif;
	background: #FFE7CC;
	color: #282828;
/*	border-top: 1px solid #DB9E8C;*/

}

.wpui-quark .ui-dialog-titlebar {
	font-weight: bold;
	background: #593C34;
	background: -moz-linear-gradient(top, #8F675B, #6E4A40);
	background: -webkit-gradient(linear, left top, left bottom, from(#8F675B), to(#6E4A40));
	background: -webkit-linear-gradient(top, #8F675B, #6E4A40);
	background: -o-linear-gradient(top, #8F675B, #6E4A40);
	color: #332520;
	text-shadow: 0 1px 0 #9C7063;
	padding: 6px 10px;
	-moz-border-radius     : 6px 6px 0 0;
	-webkit-border-radius  : 6px 6px 0 0;
	-o-border-radius       : 6px 6px 0 0;
	border-radius          : 6px 6px 0 0;
	border-bottom: 1px solid #000;
	-moz-box-shadow    : 0 1px 0 #DB9E8C inset;
	-webkit-box-shadow : 0 1px 0 #DB9E8C inset;
	-o-box-shadow      : 0 1px 0 #DB9E8C inset;
	box-shadow         : 0 1px 0 #DB9E8C inset;
	
}

.wpui-quark .ui-dialog-content {
	padding: 10px;
	overflow:hidden;
	
}

.wpui-quark .ui-dialog-titlebar-close {
	background: url("../images/close-light.png") no-repeat scroll 0 0 transparent;
	position: absolute;
	right: 5px;
	top : 5px;
	width: 18px;
	height : 18px;
	margin: 0px;
	padding: 0px;
	border: 1px solid transparent;
	opacity: 0.6;
	text-indent : -99999em;
	
}


.wpui-quark .ui-dialog-titlebar-close:hover {
	background: url("../images/close-light.png") no-repeat scroll 0 0 transparent;
	width: 18px;
	height : 18px;
	border: 1px solid transparent;
	top: 5px;
	right: 5px;
	opacity: 1;
}


.wpui-quark pre.minimal,
.wpui-quark code.minimal {
	background: #DBC6A4;
	text-shadow: 0 1px 0 #FFF;
	padding: 1px;
	color: #000;
	-moz-border-radius     : 3px;
	-webkit-border-radius  : 3px;
	-o-border-radius       : 3px;
	border-radius          : 3px;
}


.wpui-quark.wpui-button {
	background: #C7A777;
	background: -moz-linear-gradient(top, #DBC6A4, #C7A777);
	background: -webkit-gradient(linear, left top, left bottom, from(#DBC6A4), to(#C7A777));
	background: -webkit-linear-gradient(top, #DBC6A4, #C7A777);
	background: -o-linear-gradient(top, #DBC6A4, #C7A777);
	text-shadow: 0 1px 0 #E8D2AE;
	color: #000 !important;
	border: 1px solid #4A2F35;
	text-decoration: none;
	-moz-border-radius     : 3px;
	-webkit-border-radius  : 3px;
	-o-border-radius       : 3px;
	border-radius          : 3px;
	font-weight : bold;
	-moz-box-shadow    : 0 1px 0 #FFF inset, 0 -1px 0 #E8D2AE inset;
	-webkit-box-shadow : 0 1px 0 #FFF inset, 0 -1px 0 #E8D2AE inset;
	-o-box-shadow      : 0 1px 0 #FFF inset, 0 -1px 0 #E8D2AE inset;
	box-shadow         : 0 1px 0 #FFF inset, 0 -1px 0 #E8D2AE inset;
}

.wpui-quark.wpui-button:hover {
	background: #593C34;
	background: -moz-linear-gradient(top, #8F675B, #6E4A40);
	background: -webkit-gradient(linear, left top, left bottom, from(#8F675B), to(#6E4A40));
	background: -webkit-linear-gradient(top, #8F675B, #6E4A40);
	background: -o-linear-gradient(top, #8F675B, #6E4A40);
	box-shadow : 0 1px 0 #DB9E8C inset;
	color : #ECD4B2 !important;
	text-shadow : 0 -1px 0 #000;
}


.wpui-quark.wpui-button:active {
	-moz-box-shadow    : 0 2px 7px rgba( 0, 0, 0, 0.4) inset;
	-webkit-box-shadow : 0 2px 7px rgba( 0, 0, 0, 0.4) inset;
	-o-box-shadow      : 0 2px 7px rgba( 0, 0, 0, 0.4) inset;
	box-shadow         : 0 2px 7px rgba( 0, 0, 0, 0.4) inset;
}