/*------------------------------------Modified CSS---------------------------------------*/

/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-state-default {
	border: 1px solid #FFCD04;
	background: #FFCD04; /* url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; */
	font-weight: bold;
	color: #004A1E;
}

.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
	color: #FFF;
	text-decoration: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
	border: 1px solid #71785C;
	background: #004A1E; /* url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; */
	font-weight: bold;
	color: #FFF;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
	color: #FFF;
	text-decoration: none;
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
	border: 1px solid #004A1E;
	background: #004A1E; /* url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; */
	font-weight: bold;
	color: #FFF;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
	color: #FFF;
	text-decoration: none;
}

.ui-widget-header  {
	background: #688E26;
	border: 1px solid #688E26;
}

.ui-datepicker-header {
	border: 1px solid #688E26;
	background: #688E26;
}

.ui-dialog .ui-dialog-titlebar {
	background: #998746;
	border: 1px solid #998746;
}

/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
	border-top-left-radius: 10px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
	border-top-right-radius: 10px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
	border-bottom-left-radius: 10px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
	border-bottom-right-radius: 10px;
}

/* button text element */
.ui-button-text-only .ui-button-text {
	padding: .3em .5em;
}

/*------------------------------------Custom CSS---------------------------------------*/
.nav-button { 
	border: 0.1em solid #F5DB00; 
	background: #FFFAAE;
	color: #000;
	margin: 0;
	padding: 0.5em 0;
	width: 179px;
	text-align: center;
	display: block;
	line-height: 1.4;
	border-right-style:solid;
	border-right-color:#F8DF00;
	border-right-width:1px;
	text-decoration: none !important;
	font-weight:bold;
}

.nav-button:hover , .activenav-button:hover{
	border: 0.1em solid #4985CC;
	background: #D4E4F7;
	text-align: center;
	color: #000;
}

.activenav-button {
	border: 0.1em solid #27497F; 
	background: #99BBD3;
	color: #000;	
}

/* interaction states for main navigation and submit buttons */
.ui-button:hover {
	border: 1px solid #688E26;	
	background: #688E26;
	color: #FFF;
}

/* hide tabs */
.ui-tabs .ui-tabs-hide { display: none !important; }

/* wrap title text if too long */
.ui-dialog .ui-dialog-title {
	white-space: normal;
}