
/* element styles */

html {
	overflow: scroll;
}

body{
	margin: 0;
	padding: 0; 
	background: url(../images/site/page-bg.jpg) repeat-x #efeeed;
}	 

div {
	font-family: arial, verdana, sans-serif;
	font-size: small;
	color: #333;
}

p {
	font-family: arial, verdana, sans-serif;
	font-size: small;
	color: #333;
	margin: 0 0 10px 0;
}

li {
	font-size: small;
	color: #333;
}

td {
	font-size: small;
	color: #333;
	vertical-align: top;
}

img {
	border: 0;
}

a {
	font-size: small;
	color: #5c0364;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-family: arial, verdana, sans-serif;
	font-size: 150%;	
	color: #5c0364;
	margin: 0 0 10px 0;
	padding: 0;
}

h2 {
	font-family: arial, verdana, sans-serif;
	font-size: 120%;	
	color: #5c0364;
	margin: 0 0 10px 0;
	padding: 0;
}

form {
	margin: 0;
}

textarea {
	font-family: arial, verdana, sans-serif;
	font-size: small;
}

/* page element styles */ 

#navigation {
	background-color: #f6f5f3;
	height: 58px;
	width: 933px; 
	clear: both;
}

#main {
	position:relative;
	margin:0;
	margin-left:auto;
	margin-right:auto;
	width: 933px;
	padding: 0 0 0 0;
}

#footer {
	background: url(../images/site/footer-bg.jpg) no-repeat;
	clear: both;
	padding: 15px;
	color: #fff;
}

#footer div, #footer p, #footer a {
	color: #fff;
}

.footer_left {
	float: left;
	width: 485px;
}

.footer_right {
	float: right;
	width: 380px;
	margin: 0 0 0 30px;
}

#footer .divider {
	border-top: 1px #666666 solid;
	margin: 10px 0 10px 0;
}

.bordered {
	padding: 0 0 7px 0;
	background: url(../images/site/bordered.png) repeat-x bottom left;
	margin: 0 0 10px 0;
	font-weight: bold;
}

#footer_col1 {
	float: left;
	width: 140px;
}

#footer_col2 {
	float: left;
	width: 200px;
}

#footer_col3 {
	float: left;
	width: 145px;
}



/* content page structural styles */

#left_nav {
	float: left;
	width: 217px;
	margin: 0 15px 0 0;
}

/* content page */

#page_main {
	background: #fff;
	padding: 12px 12px 40px 12px;
}

#page_content {
	float: left;
	width: 650px;
}

#page_content #col1 {
	float: left;
	width: 300px;
}

#page_content #col2 {
	float: left;
	width: 300px;
	margin: 0 0 0 30px;
}

/* home page */

#page_content_home {
	float: left;
	width: 909px;
	background-color: #fff;
	padding: 12px 12px 0 12px;
	margin: 0px;
}

#main_col {
	float: left;
	background: #dedfdd url(../images/site/home-bg.jpg) repeat-x top left;
	padding: 15px;
	margin: 15px 0 0 0;
}

#banner h1 a {
	display: block;
	height: 85px;
	padding: 30px 30px 0 30px;
	background: url(../images/site/home-banner-bg.jpg) no-repeat top left;
	font-size: 120%;
}

#banner a:hover {
	text-decoration: none;
}

.home_box {
	float: left;
	width:  calc(50% - 30px);
	font-size: 100%;
	padding: 15px;
}

.home_box:hover {
	text-decoration: none;
}

#home_box_1 {
	background: url(../images/site/home-box-1.jpg) repeat-x top left;
}

#home_box_2 {
	background: url(../images/site/home-box-2.jpg) repeat-x top left;
	margin-left: 12px;
}

#home_box_3 {
	background: url(../images/site/home-box-3.jpg) repeat-x top left;
	margin-left: 12px;
}

.box {
	background: #e8e7e6 url(../images/site/box-bg.jpg) repeat-x top left;
	padding: 15px;
	margin: 0 0 15px 0;
}


.box a {
	color: #333;
}

.box a:hover {
	text-decoration: none;
}

.box_title {
	background-color: #5c0364;
	color: #fff;
	font-weight: bold;
	font-size: 100%;
	padding: 15px;
}

.box_title a {
	color: #fff;
}

.box_title a:hover {
	text-decoration: none;
}

.box_text  {
	padding: 15px;
}


.box_text a:hover {
	text-decoration: none;
}

.login_input {
	border: 1px #999 solid;
	background: #f7f7f7;
	color: #999;
	margin: 0 0 5px 0;
	padding: 3px;
}

#username {
	width: 170px;
}

#password {
	display: none;	
}

/* nav styles */

.nav_item {
	display: block;
	height: 25px;
	text-align: center;
	padding: 18px 10px 15px 10px;
}

.nav_item_active {
	display: block;
	height: 25px;
	background-color: #fff;
	background-position: 0 -30px  !important;
	text-align: center;
	padding: 18px 10px 15px 10px;
}

.nav_item:hover {
	background-color: #fff;
	background-position: 0 -30px  !important;
}

#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	clear: both;
}

#nav a {
	display: block;
}

#nav li {
	float: left;
	padding: 0;
}

#nav li a {
	font-weight: bold;
	font-size: 120%;
	color: #5c0364;
}

#nav li a:hover {
	color: #000;
	text-decoration: none;
}

#nav li ul {
	position: absolute;
	left: -999em;
	background: #e6e6e5 url(../images/nav/dd-nav-bg.jpg) repeat-x top left;
	width: 120px;
	padding: 0 5px 0 5px;
	border: 3px #e0e1df solid;
	border-top: 0;
	z-index: 99;
}

#nav li:hover ul {
	left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

.dd_nav_item, .dd_nav_item_last {
	width: 120px;
	border-bottom: 1px #eee solid;
	padding: 5px 0 5px 0 !important;
}

.dd_nav_item_last {
	border-bottom: 0;
}

.dd_nav_item a, .dd_nav_item_last a {
	color: #5c0364 !important;
	font-weight: normal !important;
	display: block;
	font-size: 100% !important;
}

.dd_nav_item a:hover, .dd_nav_item_last a:hover {
	display: block;
	text-decoration: underline;
}

/* left nav */

#left_nav a {
	display: block;
}

.nav_item_1, .nav_item_2 {
	background: url(../images/site/left-nav-bg.png) no-repeat center left;
	border-bottom: 1px #aaa dashed;
	padding: 7px 7px 10px 15px;
}

.nav_item_1_active, .nav_item_2_active {
	background: #eee url(../images/site/left-nav-bg.png) no-repeat center left;
	border-bottom: 1px #aaa dashed;
	padding: 7px 7px 10px 15px;
}

.nav_item_1_active a, .nav_item_2_active a {
	color: #000;
	font-weight: bold;
}

.nav_item_2, .nav_item_2_active {
	padding-left: 30px;
}



/* form styles */


.user_form .row_0 {
	background-color: #fefefe;
}

.user_form .row_1 {
	background-color: #fcfcfc;
}

.user_form .row_section {
	background-color: #fff;
}

.user_form .row_section td {
	border: 0 !important;
	padding-top: 30px;
}

.user_form .cell {
	border-top: 1px #f3f3f3 solid;
	padding: 3px 0px 3px 0px;
}

.user_form .cell_left {
	border-left: 1px #f3f3f3 solid;
	border-top: 1px #f3f3f3 solid;
	padding: 3px 15px 3px 0px;
	padding-left: 10px;
}

.user_form .cell_right {
	border-top: 1px #f3f3f3 solid;
	border-right: 1px #f3f3f3 solid;
	padding: 3px 0px 3px 0px;
	padding-right: 10px;
}


.user_form .cell_span {
	border: 1px #f3f3f3 solid;
	border-bottom: 0;
	padding: 3px 10px 3px 10px;
}

.user_form .error {
	display: block;
	color: #c00;
	font-weight: bold;
}

.user_form .input_box {
	width: 300px;
}

.user_form .input_box_200 {
	width: 300px;
}

.user_form .input_box_small {
	width: 80px;
}

.user_form form {
	margin: 0px;
}

.user_form select {
	width: 300px;
}

.user_form .textarea {
	width: 300px;
	height: 200px;
}

.user_form .textarea_small {
	width: 300px;
	height: 50px;
	font-family: verdana;
	font-size: small;
}

.user_form .section {
	border-bottom: 1px #f3f3f3 solid;
}	

.user_form h3 {
	padding: 20px 0 0 0;
}

.user_form .select_box_200 {
	width: 300px;
}


/* general styles */

.button {
	display: inline-block;
	text-align: center;
	color: #fff;
	background: #5c0364;
	padding: 10px 20px;
	font-size: 110%;
	cursor: pointer;
	margin: 20px auto 20px auto;
	border: 0;
	transition: background-color 0.3s;
}	

.button:hover {
	background: #808080;
	color: #fff;
	text-decoration: none;
}

.news_divider {
	height: 1px;
	background-color: #ccc;
	margin-bottom: 10px;
}

.padded_img img {
	padding: 0;
}

.smallText {
	font-size: 80%;
}

.smallText a {
	font-size: 100%;
}

.error {
	color: #c00;
	font-weight: bold;
}

.pad30lr {
	padding: 0 30px 0 30px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hide {
	display: none;
}

.show_info {
	display: none;
}

#diag2 .row {
	clear: both;
	position: relative;
}

#diag2 .button {
	background: url(../images/site/button_bg.jpg) no-repeat;
	height: 60px;
	width: 105px;
	display: block;
	float: left;
	padding: 30px 25px 0 25px;
	color: #fff;
	font-weight: bold;
}

#diag2 .info {
	position: absolute;
	top: 20px;
	left: 151px;
	height: 30px;
	width: 460px;
	padding: 10px;
	float: left;
	background: url(../images/site/more-bg.jpg) no-repeat;
}

#balanced_imagemap {
	position: relative;
}

.popups {
	position: absolute;
	width: 461px;
	height: 461px;
	left: 58px;
	top: 15px;
	padding: 10px;
	border: 3px #bd4bc1 solid;
	background: #f0dff1;
	display: none;
	z-index: 99; 
}

#cover {
	background: #000; 
	position: fixed; 
	z-index: 98; 
	top: 0px; left:0px; 
	width: 100%;
	height: 100%;
	filter: alpha(opacity=50); 
	opacity: .5;
	display: none;
	cursor: default;
}

#accordion h2 {
	padding: 3px 0 8px 40px;
	margin: 0 0 5px 0;
	cursor: pointer;
	font-size: 130%;
	font-weight: bold !important;
}

#accordion h2.ui-state-default {
	background: url(../images/site/arrow-right.png) left center no-repeat;	
}

#accordion h2.ui-state-default:hover {
	background: url(../images/site/arrow-right-hover.png) left center no-repeat;	
}

#accordion h2.ui-state-active {
	background: url(../images/site/arrow-down.png) left center no-repeat;
}

#accordion h2.ui-state-active:hover {
	background: url(../images/site/arrow-down.png) left center no-repeat;
}

#accordion .ui-state-default, #accordion .ui-widget-content {
	border: 0px;
}

#accordion .ui-state-default .ui-icon {
	background: none;
}

.ui-widget-content a {
	color: #5c0364 !important;
}

/* cookie preferences */

#cookie_popup_message {
	display:  none;
	position: fixed; 
	z-index: 9999; 
	bottom: 20px; 
	left: 20px; 
	width: 310px; 
	background-color: #ffffffcc; 
	padding: 10px;  
	border-radius: 5px; 
	box-shadow: 0 0 1px #00000066;
}

#cookie_popup_message p {
	font-size: 85% !important; 
	color: #000; 
	margin: 0 0 10px 0;
}

#cookie_options {
	display:  flex;
	flex-direction: column;
}

.cookie_options_row {
	display:  flex;
	flex-direction: row;
}

.cookie_options_label {
	font-size: 85% !important; 
	font-weight:  bold;
	margin: 0 20px 20px 0;
}

.cookie_options_yes,
.cookie_options_no {
	display:  block;
	color:#fff !important; 
	font-size: 90% !important;  
	text-decoration: none; 
	padding: 3px 15px 0 15px; 
	height:  22px;
	border-radius: 5px; 
	font-weight: bold;
	transition: background-color 0.3s;
	margin:  0 10px 0 0;
}

.cookie_options_no {
	background: #666; 
}

.cookie_options_yes {
	background: #666; 
}

.cookie_options_yes:hover,
.cookie_options_no:hover {
	text-decoration: none; 
}

.cookie_options_no:hover,
.cookie_options_no.active {
	background: #c33; 
}

.cookie_options_yes:hover,
.cookie_options_yes.active {
	background: #3c3; 
}

#cookie_accept_all,
#cookie_set_preferences {
	background: #666; 
	color:#fff !important; 
	font-size: 90% !important;  
	text-decoration: none; 
	padding: 5px 25px; 
	border-radius: 5px; 
	font-weight: bold;
	transition: background-color 0.3s;
}

#cookie_accept_all:hover,
#cookie_set_preferences:hover {
	background: #000; 
}

/* admin nav bar styles */

#admin_navbar {
	position: fixed; 
	top: 0; 
	right: 10px; 
	height: 50px; 
	background: -moz-linear-gradient(top, #e7e9eb 0%, #d8dade 100%); 
	background: -webkit-linear-gradient(top, #e7e9eb 0%,#d8dade 100%) ; 
	background: linear-gradient(to bottom, #e7e9eb 0%,#d8dade 100%); 
	border: 1px solid #e7e9eb;
	box-shadow: 0 0 5px rgba(0,0,0,0.4); 
	z-index: 9999999;
	padding: 10px;
	color: #fff;
	border-radius: 0 0 3px 3px;
}

.admin_navbar_icon {
	color: #fff;
	margin-right: 10px;
	opacity: 0.6;
	width: 48px;
	height: 48px;
}

.admin_navbar_icon img {
	width: 48px;
	height: 48px;
}

.admin_navbar_icon:hover {
	color: #fff;
	margin-right: 10px;
	opacity: 1;
}

#admin_navbar .admin_navbar_hassubnav {
	font-size: 85%;
	color: #000;
}

#admin_navbar .admin_navbar_hassubnav .admin_navbar_subnav {
	display: none;
}

#admin_navbar .admin_navbar_hassubnav .admin_navbar_subnav span,
#admin_navbar .admin_navbar_hassubnav .admin_navbar_subnav a  {
	display: block;
	color: #000;
	border-bottom: 1px solid #bdbdbd;
	padding: 0 0 5px 0;
	margin: 0 0 5px 0;
	height: auto;
}

#admin_navbar .admin_navbar_hassubnav:hover .admin_navbar_subnav {
	display: block;
	position: absolute;
	top: 60px;
	left: 175px;
	width: 150px;
	background: #d8dade; 
	padding: 10px;
}

#admin_navbar_extended {
	float: left; 
	height: 50px;
	overflow-y: hidden;
	width: 0;
}

#admin_navbar_icon {
	float: left;
	margin: 0;
}
	
@keyframes slide_out {
	0%   { width: 0px; }
	100% { width: 380px; }
}

.slide_out {
	animation-name: slide_out;
	animation-duration: 0.5s;
	animation-timing-function: ease-out;
	animation-fill-mode: both;
	-webkit-animation-fill-mode: both;
}

@keyframes slide_in {
	0%   { width: 380px; }
	100% { width: 0px; }
}

.slide_in {
	animation-name: slide_in;
	animation-duration: 0.5s;
	animation-timing-function: ease-out;
	animation-fill-mode: both;
	-webkit-animation-fill-mode: both;
}


@-webkit-keyframes jello-horizontal{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}
@keyframes jello-horizontal{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}