/**
# ################################################################################
# Project:   PHP Link Directory: Version 3.1
#
# **********************************************************************
# Copyright (C) 2004-2006 NetCreated, Inc. (http://www.netcreated.com/)
#
# This software is for use only to those who have purchased a license.
# A license must be purchased for EACH installation of the software.
#
# By using the software you agree to the terms:
#
#    - You may not redistribute, sell or otherwise share this software
#      in whole or in part without the consent of the the ownership
#      of PHP Link Directory. Please contact david@david-duval.com
#      if you need more information.
#
#    - You agree to retain a link back to http://www.phplinkdirectory.com/
#      on all pages of your directory in you purchased the $25 version
#      of the software.
#
# License holders are entitled to upgrades to the 3.4 branch of the software
# as they are made available at ttp://www.phplinkdirectory.com/
#
# In some cases, license holders may be required to agree to changes
# in the software license before receiving updates to the software.
# **********************************************************************
#
# For questions, help, comments, discussion, etc., please join the
# PHP Link Directory Forum http://www.phplinkdirectory.com/forum/
#
# @link           http://www.phplinkdirectory.com/
# @copyright      2004-2006 NetCreated, Inc. (http://www.netcreated.com/)
# @projectManager David DuVal <david@david-duval.com>
# @package        PHPLinkDirectory
# @version        3.1 (=3.0.7)
# ################################################################################
*/

/**
 * Most icons are taken from the "Silk" iconset of FamFamFam (http://famfamfam.com)
 * and are licensed under a Creative Commons Attribution 2.5 License.
 * http://creativecommons.org/licenses/by/2.5/
 * This means we may use them for any purpose, and make any changes we like.
 *
 * http://www.famfamfam.com/lab/icons/silk/
 */


/****************************************
 * Global
 ****************************************/

* {
   margin:0;
   padding:0;
}

html { height:100%; margin-bottom:1px; }


body {
   margin:0;
   font-family:Verdana, Arial, Helvetica, sans-serif;
   font-size:11px;
   color:#333;
}
#wrap {
   margin:0 auto;
   padding:0;
   position:relative;
   max-width:100%;
   min-width:99%;
   width:100%;
   background:#fff;
   color:#66758B;
}
a, a:link, a:active, a:visited, a:focus {
   color:#3F6597;
   text-decoration:underline;
   cursor:pointer;
}

a:hover {
   color:#4882C1;
   text-decoration: none;
}

ul, li {
   list-style-type:none;
}

/****************************************
 * Headings
 ****************************************/

h1, h2, h3, h4, h5, h6 {
   margin:0.2em 0;
   clear:both;
   font-weight:bold;
}

h1 {
   font-size:1.8em;
   line-height:1.2;
   letter-spacing:-1px;
}

h2 {
   font-size:1.5em;
   line-height:1.3;
}

h3 {
   font-weight:bold;
   font-size:1em;
}


/****************************************
 * Main Layout
 ****************************************/
.main {
   padding:5px 5px 5px 15px;
}

#header-title {

   font-size: 24px;
   padding-top: 19px;
   border-bottom: 1px dashed #DCDBDB;
}

#wrap #header .session {
   margin:0;
   padding:0 1em;
   display:block;
   position:absolute;
   top:0;
   right:0;
   width:100%;
   text-align:right;
   color:#153C58;
   font-size:120%;
   font-weight:bold;
   border-bottom:1px #000 ridge;
}

#header .session a {
   text-decoration:none;
   border-width:0;
   font-weight:normal;
}

#header .session a:link, #header .session a:active, #header .session a:visited, #header .session a:focus {
   color:#fff;
}
#header .session a:hover {
   color:#153C58;
}

.aboveFooter {
	background:#4496ea;
	border-top:#fff 1px solid;
	border-bottom:#fff 1px solid;
	height:4px;
}


#wrap #content-main {
   margin:1em 0;
   padding:5px 0 0 0;
   width:70%;
   overflow:hidden;
   background:#fff;
}


#content { overflow:auto;  }



table.list,
table.formPage,
.info-box {
   margin: 0;
   padding: 0;
   text-align:left;
   border:1px solid #ddd;
   border-collapse:collapse;
   background:#fff;
   align: center;
}

.loginPage {
   margin:0;
   padding: 0;
   width:70%;
   text-align:left;
   border: 1px dotted #4496ea;
   border-collapse:collapse;
   background:#fff;
   align: center;
}

table.half_list {
   margin:0;
   padding:0;
   width:49%;
   text-align:left;
   border:1px solid #ddd;
   border-collapse:collapse;
   background:#fff;
   float:left;
}

table.list a, table.list a:link, table.list a:active, table.list a:focus,
table.half_list a, table.half_list a:link, table.half_list a:active, table.half_list a:focus,
table.formPage a, table.formPage a:link, table.formPage a:active, table.formPage a:focus,
.info-box a, .info-box a:link, .info-box a:active, .info-box a:focus {
   color:#5d8db6;
   text-decoration:none;
   border:1px dotted #3F6597;
   border-width:0 0 1px 0;

}

table.list a:hover,
table.half_list a:hover,
table.formPage a:hover,
.info-box a:hover {
   color:#5d8db6;
   text-decoration:none;
   border-width:0;
}

table.list th, table.list td,
table.half_list th, table.half_list td,
table.formPage th, table.formPage td {
	font-size:11px;
   padding:5px 3px !important;
   border:1px solid #ddd;
   vertical-align:top;
}

table.list thead, table.list th,
table.half_list thead, table.half_list th,
table.formPage thead, table.formPage th {
font-size:11px;
   text-decoration:none;
   font-weight:normal;
   font-size:90%;
}

table.list thead td, table.list th, table.list td.listHeader,
table.half_list thead td, table.half_list th, table.half_list td.listHeader,
table.formPage thead td, table.formPage th, table.formPage td.listHeader {

   font-size:90%;
   font-weight:bold;
   color:#fff;
   white-space:nowrap;
}

span.featured_label {
	display: block;
	float: right;
	font-weight: bold;
	color: #98B767;
}

/* usually sort fields, make them align center */
table.list thead td, table.half_list thead td, table.list tr th, table.half_list tr th, table.list tr td.listHeader,
table.half_list tr td.listHeader {
font-size:11px;
   text-align:center;
}

table.formPage thead td, table.formPage tr th, table.formPage tr td.listHeader {
   text-align:left !important;
}

table.list thead .important,
table.list tr.thead .important,
table.half_list thead .important,
table.half_list tr.thead .important,
table.formPage thead .important,
table.formPage tr.thead .important {
font-size:11px;
   font-style:italic;
   color:#fff !important;
}

table.list thead tr,
table.list tr.thead,
table.half_list thead tr,
table.half_list tr.thead,
table.formPage thead tr,
table.formPage tr.thead,
.info-box h2, .info-box h3, td.types {
   font-size:11px;
   height: 28px;
   background:#5d8db6 url('../images/backHeadline.gif') repeat-x top;
   border:1px solid #165795;
   white-space:nowrap;
}

.label {
   width:30%;
   font-weight:bold;
   font-size:100%;
}

.smallDesc {
   width:70%;
   font-weight:normal;
   font-size:100%;
}

td.types {
	color: #ffffff;
	font-weight: bold;
}

table.list thead a, table.list thead a:link, table.list thead a:active, table.list thead a:visited, table.list thead a:focus
table.half_list thead a, table.half_list thead a:link, table.half_list thead a:active, table.half_list thead a:visited, table.half_list thead a:focus
table.formPage thead a, table.formPage thead a:link, table.formPage thead a:active, table.formPage thead a:visited, table.formPage thead a:focus {
   display:block;
   text-decoration:underline;
   font-weight:bold;
   color:#fff;
   border-width:0;
}

table.list thead a:hover, table.list th a:hover,
table.half_list thead a:hover, table.half_list th a:hover,
table.formPage thead a:hover, table.formPage th a:hover {
   text-decoration:none;
   border-width:0;
}


/****************************************
 * Forms
 ****************************************/
textarea.text, input.text, select, option {
   margin:1px;
   padding:4px 3px;
   background:#FFFFE5;
   border:1px solid #b2b2b2;
   color:#000;
   text-decoration:none;
}

option {
   padding:2px;
   border-width:0;
}

input.text, textarea.text {
   width:75%;
}

textarea:hover, textarea:focus, input:hover, input:focus, select:hover, select:focus {
   background:#fff;
   border:1px solid #b2b2b2;
   color:#000;
}

.limit_field, .limit_field:hover, .limit_field:focus {
   padding:1px;
   background:#fff;
   border-width:0;
   color:#696969;
}

fieldset.link_action, fieldset.categ_action {
   margin:2px 1em 2px 2px;
   padding:0.5em 1em;
   display:inline;
   background:#fff;
   border:1px solid #5e74b3;
}

fieldset.link_action legend, fieldset.categ_action legend {
   padding:1px 3px;
   background: #F8F8FC;
   border:1px dotted #5e74b3;
}

fieldset.link_action .btn, fieldset.categ_action .btn, fieldset.link_action .button, fieldset.categ_action .button {
   margin:2px 5px;
   display:inline;
}

#wrap .searchid {
   width:30px;
}


.align-left {
   text-align:left;
}

.align-center {
   text-align:center;
}

.align-right {
   text-align:right;
}

label {
   cursor: pointer;
   display:block;
}

p, li, dl, dd, dt {
   line-height: 100%;
}

.block {
   font-size: 10px;
   margin:10px 0 !important;
   width: 508px;
   clear:both;
   text-align: left;
}

.clear {
   clear: both;
}

.hidden {
   display: none;
}

.code {
   font-family: "Courier New", Courier, monospace;
}

.btn, .button, a.btn, a.button {
   margin:1px;
   padding:3px 5px;
   display:block;
   width:auto !important;
   white-space:nowrap;
   cursor:pointer;
   text-decoration:none;
   text-align:center;
   background:#fff url('../images/fade-button.png');
   border:1px solid #3F6597;
   padding:0.25em;
}

a.btn:hover, a.btn:focus, .btn:hover, .btn:focus, .button:hover, .button:focus {
   background:#fff;
   border:1px solid #3F6597;
   color:#333;
}



.pop-list h1, .pop-list h2, .pop-list h3, .pop-list a {
   font-size:80%;
   font-weight:normal;
}

tr.odd, tr.even {
font-size: 12px;
   border-bottom:1px solid #ddd;
}

tr.odd {
   background:#EEF6FF;
}

tr.even {
   background:#fff;
}

.tooltip {
   /* */
}

#wrap .tooltip a, #wrap .tooltip a:link, #wrap .tooltip a:active, #wrap .tooltip a:visited, #wrap .tooltip a:focus, #wrap .tooltip a:hover {
   text-decoration:none;
   border:none;
   border-width:0;
}

.success, .warning, .error, .err, .errForm {
   padding:5px 10px;
   border: 1px solid #9C9;
   border-width:1px 0;
   line-height: 120%;
   font-size:100%;
}

.warning {
   border-width:0;
}

.success {
   background:#E2F9E3;
   border-color:#9C9;
   color:#060 !important;
	font-size: 9px;
}

.notice {
   background:#beccf4;
   border-color:#E07E54;
   color: #3b4582 !important;
	padding: 3px;
}

.warning, .error, .err, .errForm {
	font-size: 9px;
   background:#FFF1F9;
   border-color:#821517;
   color:#821517 !important;
}

.msg {
   background:#fff !important;
}

span.important, code.important, p.important {
   color:#821517 !important;
   font-weight:bold;
}

.range {
   width:75px !important;
}

.paging-tblrow {
height: 2222px;
   border-width:0 !important;
}

.errForm {
   clear:both;
}

.hidden {
   display:none !important;
}

.info, .information, .info-tbl, .info-box {
   cursor:help;
}

img.captcha {
   border:1px solid #ddd;
   cursor:help;
}


/****************************************
 * Redirect window
 ****************************************/

.redirect {
   margin:15% auto;
   padding:0.3em 1em;
   width:60%;
   background:#EEF6FF;
   border:1px solid #ddd;
}

.redirect .redirect-url, .redirect .redirect-title {
   text-align:center;
}

div.complete .redirect {
   border:1px solid #ddd;
}
div.failed .redirect {
   border:1px solid #ddd;
}
div.regular .redirect {
   border:1px solid #ddd;
}

/****************************************
 * Admin Login Page
 ****************************************/
#admin-login, .login-page #footer {
   margin:10% auto 0 auto;
   
   width:40%;
   min-width:300px;
   border:1px solid #ddd;
}

.login-page #footer {
   margin:0 auto !important;
   color:#8596A6;
   text-align:center;
   border-width:0;
}

#admin-login .admin-login-title {
   margin:0;
   padding:5px 2px;
   font-size:100%;
   font-weight:bold;
   text-decoration:none;
   line-height:1.2;
   letter-spacing:-1px;
   text-align:center;
   vertical-align: middle;
   height: 28px;
   color: #fff;
   background: #5d8db6;
}

#admin-login ul {
   margin: 0 0 0 0;
   padding: 14px 0;
   list-style-type:none;
   background:#EEF6FF;
}

#admin-login label {
   text-align:right;
   display:block;
   width:35%;
   float:left;
   margin-right:10px;
}

#admin-login input {
   width: 50%;
}

#admin-login .errForm {
   padding:2px 3px !important;
   border-width:0;
   text-align:right;
   line-height:100%;
   background:transparent;
}

#admin-login .submit {
   margin:0.3em 0 0 0;
   text-align:center;
}

#admin-login .button {
   margin:0 auto;
   width:auto;
}

#admin-top-links {
	padding: 20px 15px 10px 15px !important;
}

#admin-top-links a:link, #admin-top-links a:active, #admin-top-links a:visited {
	float: left;
    background: url('../images/admin_top_btn_bg.gif') repeat-x;
	font-size: 9px;
	height: 17px;
	padding: 3px 0 0 0;
	width: 50%;
	
	text-decoration: none;
	text-align: center;
}

#admin-top-links a:hover {
	text-decoration: underline;
	color: #4882C1;
}

