
@import url("announcement.css.php");
@import url("controlpanel.css.php");
@import url("forum.css.php");
@import url("post.css.php");
@import url("register.css.php");
@import url("search.css.php");
@import url("stat.css.php");
@import url("thread.css.php");
@import url("userlist.css.php");
@import url("userprofile.css.php");

*{margin:0;padding:0;}

/* Start Header */
#menus a{-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border-top-left-radius:6px;border-top-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;}
#menus ul ul a{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;}


/* End Header */

/* -------------------- GENERAL -------------------- */

html
{
	background: #FFFFFF url(../img/back_hlines.png);
	cursor: default;	
}
body
{
	/*
	width: 90%;
	min-width: 350px;
	max-width: 1200px;
	margin: 10px auto;
	*/	
}

html,
body,
p,
div.p,
td,
li,
input,
textarea,
select
{
	font-size: 13px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}
html,
body,
p,
div.p,
td,
li
{
	line-height: 130%;
}

p,
div.p
{
	margin-top: 12px;
	margin-bottom: 12px;
}

div.error,
div.info
{
	/*border: solid 1px #E8D0A0;*/
	border: solid 1px #E0B070;
	padding: 1px;
}
div.info
{
	/*border-color: #CAE8BA;*/
	border-color: #80E070;
}
div.error div,
div.info div
{
	font-weight: bold;
	color: #A02000;
	background: #F8E0B0;
	padding: 2px 4px 2px 4px;
	line-height: normal;
}
div.info div
{
	color: #107000;
	background-color: #DAF8CA;
}

a
{
	color: #0051F6;
	text-decoration: none;
}
a:hover,
a:focus
{
	color: #FF9000;
}
a img
{
	border: 0px;
}
.abbc a img
{
	border: 1px solid #0051F6;
}

small
{
	font-size: 0.85em;
	color: #707070;
}

h1
{
	margin: 0;
	padding: 3px 0 1px 6px;
	font-size: 1em;
	font-weight: normal;
	color: #404040;
	background: url(../img/caption_back.png) center left no-repeat;
}

tr.hover:hover td
{
	background: url(../img/shade_bk5.png);
}

.nowrap
{
	white-space: nowrap;
}

.img_trans_back
{
	border: solid 1px #DDDDDD;
	background: url(../img/trans_back.png);
}

/* -------------------- PAGE HEAD -------------------- */

.head_logo
{
	padding-bottom: 4px;	
}

.head_logincontrol
{
	text-align: right;
	padding-bottom: 6px;
}

ul.head_navigation
{
	list-style: none;
	border-bottom: 1px solid #CCCCCC;
	padding: 1px 6px 3px;
	margin: 0px 0px 12px;
}
ul.head_navigation li
{
	display: inline;
}
ul.head_navigation li a
{
	/* navi link background with grey gradient: */
	background: url(../img/navlink_back.png) bottom repeat-x;
	/* flat navi link background: */
	/*background: url(../img/shade_bk6.png);*/
	border: solid 1px #CCCCCC;
	border-bottom: none;
	margin-right: 4px;
	padding: 2px 6px 3px;
	text-decoration: none;
	color: #0051F6;
	white-space: nowrap;
}
ul.head_navigation li a img
{
	margin-right: 2px;
}
ul.head_navigation li.active
{
}
ul.head_navigation li.active a
{
	/* active navi link background with white gradient: */
	background: url(../img/navlink_active_back.png) bottom repeat-x;
	/* flat active navi link background: */
	/*background: url(../img/shade_wh15.png);*/
	border-bottom: solid 1px #FFFFFF;
}
ul.head_navigation li a:hover
{
	background: url(../img/shade_wh15.png);
	/* dark hover navi link background: */
	/*background: url(../img/shade_bk13.png);
	border-bottom-color: #ECECEC;*/
	color: #0051F6;
}
ul.head_navigation li a:active,
ul.head_navigation li a:focus
{
	background: url(../img/shade_wh15.png);
	border-bottom: solid 1px #FFFFFF;
	color: #0051F6;
}

/* -------------------- PAGE FOOT -------------------- */

.foot_container
{
	clear: both;
}
.foot_content
{
	margin-top: 12px;
	text-align: center;
	font-size: 0.85em;
	line-height: 1.3em;
	color: #707070;
	border-top: 1px solid #CCCCCC;
	padding-top: 2px;
}

.foot_logincontrol
{
	margin: 12px 0;
	text-align: right;
}

.amazon_link
{
	margin-top: 15px;
	text-align: center;
	align: center;
}

/* -------------------- OVERVIEW PAGE -------------------- */

.path
{
	margin-bottom: 12px;
}
.path .sep
{
	color: #707070;
}
.path .thread
{
	margin-top: 4px;
}
.path .thread .subject
{
	font-size: 1.5em;
	line-height: 140%;
}
.path .thread a
{
	color: #202020;
}
.path .thread a:hover
{
	color: #FF9000;
}
.path .desc
{
	font-size: 0.85em;
	color: #707070;
}

.overview_actions_top
{
	text-align: right;
}

.jumpandsearchbox
{
	clear: both;
	margin-top: 12px;
}

.searchbox
{
	float: right;
}
.searchbox input[type="text"]
{
	width: 140px;
}
.jumpforumbox
{
}

/* -------------------- JUMP FORUM SELECT BOX -------------------- */

option.forum
{
	color: #000000;
	background: #FFFFFF;
}
option.category
{
	color: #000000;
	background: #EEEEEE;
}
option span.light  /* used for lighter hierarchy lines in the dropdown tree */
{
	color: silver;
}

/* -------------------- ADVANCED OPTIONS BOX -------------------- */

.advanced_options_container
{
	clear: both;
	border: solid 1px #CCCCCC;
	margin: 1px auto 0px;
	padding: 1px;
}
.advanced_options_content
{
	background: url(../img/shade_bk3.png);
	padding: 3px 5px 4px 5px;
}
.advanced_option
{
	margin: 2px 0;
}
.advanced_option.new_group
{
	margin-top: 12px;
}
.advanced_subtitle
{
	font-size: 0.85em;
	color: #707070;
	margin-left: 20px;
}

/* -------------------- SPLIT THREADS -------------------- */

table.thread_split_data td.leftcol
{
	width: 100px;
	padding-right: 10px;
	white-space: nowrap;
}
.thread_split_post .head
{
	border: solid 1px #A0E0A0;
	padding: 1px;
	margin-bottom: 3px;
}
.thread_split_post .head > div
{
	background: url(../img/shade_gn7.png);
	padding: 2px 4px;
}
.thread_split_post .checkbox
{
	float: right;
}
.thread_split_post .subject
{
	padding-bottom: 2px;
	border-bottom: solid 1px #D8D8D8;
	margin-bottom: 8px;
}
.thread_split_post .body
{
	margin: 8px 0 15px;
}

/* -------------------- FORMS -------------------- */

form
{
	display: inline;
	margin: 0px;
}

/* when updating textarea/textfield border width or padding, also update div.outerText{area,field}100pc */
input[type="text"],
input[type="password"],
textarea
{
	border: solid 1px #C0C0C0;
	background: #FFFFFF url(../img/textbox-back.png) repeat-x;
	color: #000000;
	padding: 1px 0px 1px 2px;

		margin-top: 2px;
	
	}
textarea
{
	padding: 0px 0px 0px 2px;
}
input[type="text"]:hover,
input[type="text"]:focus,
input[type="password"]:hover,
input[type="password"]:focus,
textarea:hover,
textarea:focus
{
	border-color: #5580DD;
}

/* bottom-only borders for text fields */
input[type="text"],
input[type="password"]
{
/*	border-top: 0;
	border-left: 0;
	border-right: 0;
	padding-left: 1px;*/
}

/* textareas that have width:100% need this outer padding which is
   the sum of horizontal (left+right) border widths and paddings */
div.outerTextarea100pc
{
	padding-right: 4px;
}
div.outerTextarea100pc textarea
{
	margin-right: -4px;
	width: 100%;
}
/* textfields that have width:100% need this outer padding which is
   the sum of horizontal (left+right) border widths and paddings */
div.outerTextfield100pc
{
	padding-right: 4px;
}
div.outerTextfield100pc input[type="text"],
div.outerTextfield100pc input[type="password"]
{
	margin-right: -4px;
	width: 100%;
}

input[type="text"][disabled],
input[type="password"][disabled],
textarea[disabled]
{
	border: solid 1px #C0C0C0;
	color: GrayText;
}

input[type="checkbox"],
input[type="radio"]
{
		margin: 1px 6px 1px 0;
		padding: 0;
	cursor: pointer;
}
/* the label element doesn't see if there's a disabled input element within */
/*input[type="checkbox"][disabled],
input[type="radio"][disabled]
{
	cursor: default;
}*/
input[type="radio"]
{
	vertical-align: middle;
}
label
{
	cursor: pointer;
}

select,
select[disabled],
select[disabled]:hover
{
	border: 1px solid #C0C0C0 !important;
	background: #FAFAFA !important;
	padding: 0px 0px !important;
	cursor: pointer;

		/*-moz-border-left-colors: #B4B4B4 #FAFAFA !important;
	-moz-border-top-colors: #B4B4B4 #FAFAFA !important;
	-moz-border-right-colors: #B4B4B4 #FAFAFA !important;
	-moz-border-bottom-colors: #B4B4B4 #FAFAFA !important;*/
	-moz-border-left-colors: transparent #C0C0C0 !important;
	-moz-border-top-colors: transparent #C0C0C0 !important;
	-moz-border-right-colors: transparent #C0C0C0 !important;
	-moz-border-bottom-colors: transparent #C0C0C0 !important;
	margin-top: 1px;   /* should be 2px as with input[type="text"], but there's one transparent pixel row already */
	}
select:hover,
select:focus
{
	border: 1px solid #5580DD !important;

		/*-moz-border-left-colors: #5580DD #FAFAFA !important;
	-moz-border-top-colors: #5580DD #FAFAFA !important;
	-moz-border-right-colors: #5580DD #FAFAFA !important;
	-moz-border-bottom-colors: #5580DD #FAFAFA !important;*/
	-moz-border-left-colors: transparent #5580DD !important;
	-moz-border-top-colors: transparent #5580DD !important;
	-moz-border-right-colors: transparent #5580DD !important;
	-moz-border-bottom-colors: transparent #5580DD !important;
	}
table
{
	empty-cells: show;
}
table td select
{
	position: relative;
	left: -1px;
	margin-right: -2px;
}
option[selected]
{
	font-style: italic;
}
option:hover small
{
	color: white;
}

input[type="button"],
input[type="submit"],
input[type="button"][disabled]:hover,
input[type="submit"][disabled]:hover,
input[type="button"][disabled]:active,
input[type="submit"][disabled]:active,
input[type="button"][disabled]:focus,
input[type="submit"][disabled]:focus
input[type="button"][disabled].defaultbutton:hover,
input[type="submit"][disabled].defaultbutton:hover,
input[type="button"][disabled].defaultbutton:active,
input[type="submit"][disabled].defaultbutton:active,
input[type="button"][disabled].defaultbutton:focus,
input[type="submit"][disabled].defaultbutton:focus
{
	border: solid 1px #C0C0C0;
	background: #E7E7E7 url(../img/button_back.png) repeat-x;
	padding: 0px 3px;
	cursor: pointer;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="button"].defaultbutton:hover,
input[type="submit"].defaultbutton:hover,
input[type="button"].defaultbutton:focus,
input[type="submit"].defaultbutton:focus
{
	border: solid 1px #5580DD;
	background: #D7DBF7 url(../img/button_back_hover.png) repeat-x;
}
input[type="button"]:active,
input[type="submit"]:active,
input[type="button"].defaultbutton:active,
input[type="submit"].defaultbutton:active,
input[type="button"].selected,
input[type="submit"].selected
{
	border: solid 1px #5580DD;
	background: #D7DBF7 url(../img/button_back_pushed.png) repeat-x;
}
input[type="button"][disabled],
input[type="submit"][disabled],
input[type="button"][disabled].defaultbutton,
input[type="submit"][disabled].defaultbutton
{
	border: solid 1px #C0C0C0;
	color: #808080;
}
input[type="button"].defaultbutton,
input[type="submit"].defaultbutton
{
	border: solid 1px #606060;
}
/* Attention, CSS3 ahead! */
input[style*="monospace"]
{
	padding-top: 1px;
}

input[type="file"]
{
		/*-moz-appearance: textbox !important;
	border: 1px solid ThreeDShadow !important;
	-moz-border-left-colors: #B4B4B4 white !important;
	-moz-border-top-colors: #B4B4B4 white !important;
	-moz-border-right-colors: #B4B4B4 white !important;
	-moz-border-bottom-colors: #B4B4B4 white !important;
	background: #FAFAFA !important;*/
	
	}

/*
input[type="checkbox"]
{
	border: 1px solid #B4B4B4 !important;

		-moz-appearance: none !important;
	-moz-border-left-colors: transparent #B4B4B4 !important;
	-moz-border-top-colors: transparent #B4B4B4 !important;
	-moz-border-right-colors: transparent #B4B4B4 !important;
	-moz-border-bottom-colors: transparent #B4B4B4 !important;
	width: 16px;
	height: 16px;
	}
input[type="checkbox"]:hover,
input[type="checkbox"]:focus
{
	border: 1px solid #5580DD !important;

		-moz-border-left-colors: transparent #5580DD !important;
	-moz-border-top-colors: transparent #5580DD !important;
	-moz-border-right-colors: transparent #5580DD !important;
	-moz-border-bottom-colors: transparent #5580DD !important;
	}
input[type="radio"]
{
	border: 1px solid #B4B4B4 !important;

		-moz-appearance: none !important;
	-moz-border-left-colors: transparent #B4B4B4 !important;
	-moz-border-top-colors: transparent #B4B4B4 !important;
	-moz-border-right-colors: transparent #B4B4B4 !important;
	-moz-border-bottom-colors: transparent #B4B4B4 !important;
	width: 16px;
	height: 16px;
	}
*/

input.transparent
{
	border: 0px;
	background: transparent;
	color: #202020;
	margin-bottom: 1px;
}
input.transparent:hover,
input.transparent:focus
{
	border: 0px;
}




/* nav */
#top {
	z-index:5;
	position:relative;
	height:77px;
	margin:0 auto;
	padding-top:10px;
	clear:both;
	/*background:#454546;
	background: #666666 url('https://www.ag-software.net/wp-content/themes/ags/images/bg_head.png') repeat-y top right;*/
	background: #4C4C4C url('https://www.ag-software.net/wp-content/themes/ags/images/bg_head.png') repeat-y top right;
}
#logo {
	width:700px;
	height:70px;
	margin:0 auto;
	padding-right:260px;	
	background: url('https://www.ag-software.net/wp-content/themes/ags/images/logo.png') no-repeat 0px 10px;
}
#nav {
	z-index:5;
	position:relative;
	height:31px;
	margin:0 auto;
	padding-top:10px;
	clear:both;
	/*background:#454546;*/
	background: #4C4C4C url('https://www.ag-software.net/wp-content/themes/ags/images/bg_head.png') repeat-y top right;
}
#menus{width:700px;height:31px;margin:0 auto;padding-right:260px}
#menus .nav_menu,div.menu{width:950px;height:31px;font-size:14px !important;text-shadow:0 1px 0 #000;}
#menus .nav_menu ul,div.menu ul{list-style:none;margin:0;}
#menus .nav_menu li,div.menu li{float:left;position:relative;margin-right:8px;}
#menus a{font-size:14px; border:1px solid #555;border-bottom:none;color:#abaaaa;display:block;line-height:30px;background:#333;padding:0 10px;}
#menus ul ul{display:none;position:absolute;top:31px;left:0;float:left;width:150px;z-index:99999;}
#menus ul ul li{min-width:150px;}
#menus ul ul ul{left:100%;top:0;}
#menus ul ul a{background:#222;width:160px;height:auto}
#menus li:hover > a,#menus ul ul :hover > a{background:#222;color:#fff;}
/* #menus ul li:hover > ul{display:block;}*/
#menus ul li.current_page_item > a,
#menus ul li.current-menu-ancestor > a,
#menus ul li.current-menu-item > a,
#menus ul li.current-menu-parent > a{background:#f7f7f7;color:#333;text-shadow:0 1px 0 #fff;}
/*
#menus ul li.current_page_item:hover > a,
#menus ul li.current-menu-ancestor:hover > a,
#menus ul li.current-menu-item:hover > a,
#menus ul li.current-menu-parent:hover > a{background:#222;color:#fff;text-shadow:0 1px 0 #000;}*/

/* Footer */
#footer {
	margin:20px auto 0;
	/*background:#454546;*/
	background: #4C4C4C url('https://www.ag-software.net/wp-content/themes/ags/images/bg_head.png') repeat-y top right;
	height:140px;	/*110*/
	font-size:12px !important;
}
#footer-inside {
	position:relative;width:640px;
	margin:0 auto;
	padding:5px 320px 5px 0;	
	color:#aaa;
}
#footer-inside p {
	margin-bottom:0px;
	margin-top:0px;
}

#footer-inside a{border-bottom:1px dashed #aaa;color:#aaa;}
#footer-inside #back-to-top{position:absolute;top:5px;right:150px;color:#f2f2f2;font-size:14px;}
#footer-inside #back-to-top a{border:none;color:#f2f2f2;}

#footer-inside #unb_powered {
	position:absolute;
	width: 88px;
	height: 31px;
	top:10px;
	right:0px;
	border:0px;
	background: url('../img/unb_powered.png') no-repeat right;
}

#footer-inside #unb_powered span {
	display: none;  
}

#wrapper {
	width:940px;
	margin: 10px auto 0 auto;
}

/* footer navigation */
#foot-nav ul li {
	text-transform:uppercase;
	float:left;
	margin-right:20px;
	list-style:none;
	font-weight:bold;
	font-size:12px;
}
#foot-nav ul li ul{
	margin:0;
}
#foot-nav ul li ul li{
	float:none;
	list-style:none;
	font-weight:normal;
	text-transform:none;
}
#foot-nav {
	width:960px;
	margin-left:auto;
	margin-right:auto;
	margin-top:20px;/*20px*/
}
#foot-nav, #foot-nav a, #foot-nav:hover {
	color:#aaa;
}

/* code, put back teh default padding on lists */
.code ol, .code ul {
	padding-left: 40px;
}

img.tinyavatar {
  width: 20px;
  height: 20px;
}