/* directory navigation
----------------------------*/

nav#directory {
    width: 100%;
    height: 27px;
    display: block;
    float: left;
    margin-top: 15px;
    padding-left: 7px;
    font-size: 12px;
    background: #f4f4f4 url(../images/directory/nav-directory.jpg) no-repeat left;
}

nav#directory a {
    text-decoration: none;
    color: #696969;
}

nav#directory a:hover {
    text-decoration: underline;
}

nav#directory ul {
    height: 20px;
    float: left;
    padding-top: 7px;
}

nav#directory ul#right {
    float: right;
    padding-right: 10px;
    background: url(../images/directory/nav-directory-span.jpg) no-repeat right;
}

nav#directory ul li {
    float: left;
    margin: 0 7px;
    list-style-type: none;
}

nav#directory ul li.divider {
    margin: 0 2px;
}

/* sort by
----------------------------*/

#sort-by {
    float: left;
    margin: 10px 0;
    font-size: 11px;
}

#sort-by a {
    color: #696969;
}

/* sort by
----------------------------*/

#counter {
    float:right;
    font-size:14px;
    margin:-35px 70px 0 0;
    position:relative;
    z-index:500;
}


/* h3
----------------------------*/

h3#featured-companies {
    margin: 20px 0;
    font-size: 14px;
}

/* featured companies list
----------------------------*/

.featured-company {
    width: 903px;
    font-size: 13px;
}

.featured-company .content {
    height: 124px;
}

.featured-company.expands .content {
    min-height: 124px;
    height: auto;
}

.featured-company .image {
    float: left;
    margin: 0 40px 0 10px;
    width: 188px;
    height: 124px;
    display: block;
    text-align: center;
}

.featured-company .image img {
    max-width: 188px;
    max-height: 124px;
}

.featured-company .name {
    float: left;
    margin-bottom: 10px;
    font-weight: bold;
    width: 610px;
}

.featured-company .about {
    width: 610px;
    float: left;
    margin-bottom: 10px;
}

.featured-company a.more-info {
    display: block;
    color: #00A3CF;
    text-decoration: none;
    font-size: 13px;
    margin-top: 1em;
}

.featured-company a.more-info:hover {
    text-decoration: underline;
}

/* h2
----------------------------*/

h2#featured-companies {
    float: right;
    margin-right: 65px;
    color: #00A3CF;
    font-size: 16px;
    text-transform: uppercase;
}

h2#featured-companies a {
    text-decoration: none;
    color: #00A3CF;
}

/* directory table
----------------------------*/

table#directory {
    margin-top: 20px;
    font-size: 12px;
}

table#directory tr th {
    padding-bottom: 10px;
    text-align: left;
    color: #696969;
    font-size: 14px;
}

table#directory tr th a {
    color: #696969;
}

table#directory tr th#name {
    width: 270px;
}

table#directory tr th#product {
    width: 210px;
}

table#directory tr th#country {
    width: 100px;
}

table#directory tr th#phone {
    width: 130px;
}

table#directory tr th#website {
    width: 230px;
}

table#directory tr th#dsa {
    width: 30px;
}

table#directory tr td a {
    text-decoration: none;
}

table#directory tr td a.featured {
    color: #00A3CF;
    font-weight: bold;
}

table#directory tr td a:hover {
    text-decoration: underline;
}

#registration-company input.search-submit {
    width: 143px;
    line-height: 20px;
    height: 20px;
    display: block;
    position: absolute;
    background: url(../images/article/article-button.jpg) no-repeat;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    border: 0;
    cursor: pointer;
    margin-top: 1em;
}

#registration-company label,
#registration-company input,
#registration-company select,
#registration-company option {
    font: normal 12px/20px Arial, Helvetica, sans-serif;
    color: #696969;
    float: left;
}
#registration-company label a {
    color: #696969;
}
#registration-company label.text {
    width: 120px;
    text-align: right;
    display: block;
    margin: 20px 10px 0 0;
    line-height: 20px;
}
#registration-company input.text {
    height: 14px;
    width: 200px;
    padding: 2px;
    margin: 20px 50px 0 0;
    border: 1px solid #afafaf;
}
#registration-company textarea.text {
    height: 150px;
    width: 585px;
    padding: 2px;
    margin: 20px 50px 0 0;
    border: 1px solid #afafaf;
}
#registration-company select.text {
    height: 20px;
    width: 206px;
    margin: 20px 50px 0 0;
    border: 1px solid #afafaf;
}

#registration-company input.checkbox,
#registration-company label.checkbox {
    margin: 5px 5px 0 0;
    line-height: 16px;
}
#registration-company input.submit {
    border: 0 none;
    width: 106px;
    height: 23px;
    background: transparent url('../images/registration/button-submit.gif') no-repeat scroll left top;
    cursor: pointer;
    margin: 10px 15px 0 0;
}

#registration-company input.add-company {
    border: 0 none;
    width: 81px;
    height: 23px;
    background: transparent url('../images/directory/button-add-company.gif') no-repeat scroll left top;
    cursor: pointer;
    margin: 10px 15px 0 0;
}

#messageBox label{
    display:block !important;
    font-size:12px !important;
    font-weight:bold;
    line-height:14px;
    width:100% !important;
}
#registration-company label.error {color:red;}
#messageBox{color:red;list-style-type:none !important;margin:0 5px !important;}
#registration-company input.error{border:1px solid red;}
#errorbox ul li {
    border-bottom:none !important;
    list-style-type:none;
    padding:0 !important;
    text-transform:none !important;
    width:100%;
}

#company-view .ui-widget-header {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 none !important;
    color: #000000;
    font-weight: bold;
}

#company-view .ui-widget-content {
    background-color: transparent !important;
    background-image: none !important;
    border:0 !important;
    color: #333333;
}
#company-view .ui-tabs-hide{display:none;}

#company-view #tab-nav{
    list-style: none outside none;
    margin: 0;   
}

#company-view #tab-nav .tab{
    float: left;
    height: 29px;
    line-height: 29px;
    padding: 0 15px;
    border-right: 1px solid #D8D8D8;

}

#company-view #tab-nav .tab a{
    color: #ffffff;
    text-decoration: none;
}

#company-view .ui-state-active{
    
    font-weight:bold;
    background-color:transparent !important;
    border: 1px solid #D8D8D8;
    border-bottom: 0;
    height: 35px !important;
    line-height: 35px !important;
    margin-top: -7px;
    margin-left: -1px;
    background: url("../images/sitewide/white-box-bg.jpg") repeat-x scroll left top #FDFDFD;
    color: #808080;
    behavior: url(../styles/PIE.htc);
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;

}

#company-view .ui-state-active a{
    color: #808080 !important;
    text-decoration: none;
}

#tab-nav-panel{
    background: url("../images/directory/tabs-bg-bleed.png") repeat-x scroll left bottom transparent;
    height:29px;
    width:100%;
    behavior: url(../styles/PIE.htc);
        border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}

.first{

    margin-left: 0px !important;
}
