/* Drupal 6 Framework - Created by Andre Griffin
------------------------------------------------
[Table of contents]

 0.Reset
 1.Global
 2.Layout
 3.Main
 4.Sidebars
 5.Header
 6.Navigation
 7.Nodes
 8.Comments
 9.Blocks
10.Footer
12.CSS Support

[Font sizes - based on 75%/12px body font-size]
36px = 3em
30px = 2.5em
24px = 2em
18px = 1.5em
16px = 1.333333em
15px = 1.2em
14px = 1.1667em
12px = 1em
11px = .9167em
10px = .8333em

Equation for font sizing: 
-Desired px ÷ Default (or parent) px = em size
------------------------------------------------*/

/**
 * 0.RESET 
 */
@import "reset.css";

/**
 * 1.GLOBAL
 */
body {
  background: #fff;
  color: #000;
  font-family: Lucida Grande, Verdana, Arial, sans-serif;
  font-size: 10px;
  line-height:1.5;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
  font-weight: normal;
}

h1 {
  font-size: 3em;
  line-height: 1em;
  margin-bottom: .5em; 
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
  line-height: 2em;
}

h4 {
  font-size: 1.2em;
  line-height: 1.25em;
  margin-bottom: 1.25em; 
}

h5 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 1.5em; 
}

h6 {
  font-size: .8333em;
  font-weight: bold;
  line-height: 1.8em;
  margin-bottom: 1.8em;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
  margin: 0;
}

p {
  margin: 0 0 1.5em 0;
}

p a:link {
  text-decoration: underline;
}

a:link, a:visited {
  color: #069;
  outline: none;
  text-decoration: none;
}

a:focus {
  outline: 1px dotted;
}

a:hover, a:active, li a.active {
  color: #069;
  outline: none;
  text-decoration: underline;
}

/* Common Styling */
li ul, li ol, .block li ul { margin: 0; }
ul, ol, .block ul { margin: 0 1.5em 1.5em 0; padding: 0 0 0 1.5em; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dd { margin-left: 1.5em; }
table { margin-bottom: 1.5em; width:100%; }
th, tr, td { padding: 0.1em 0.5em; vertical-align: middle; }
hr { background: #666; border: none; clear: both; float: none; height: 1px; margin: -1px 0 1.5em; width: 100%; }
fieldset { border: 1px solid #ccc; margin: .5em 0; padding: 1em; }

/**
 * 2.LAYOUT
 */
#wrapper {
  margin: 0 auto;
  padding: 0 3px;
  width: 1000px;
}

/* add this class to div#wrapper in page.tpl to show grid */
.showgrid {
  background: url(images/grid.gif) repeat-y;
}

/**
 * 3.MAIN
 */
/* 1 column: global values*/
#main {
  margin: 0 0 1.5em;
  position: relative;
}

/* 3 columns */
body.two-sidebars #main {
  float: left;
  margin: 0 20px 0 240px;
  padding: 0;
  width: 460px;
}

/* 2 columns: sidebar-first */
body.sidebar-left #main {
  float: right;
  margin: 0;
  padding: 0;
  width: 816px;
}

/* 2 columns: sidebar-second */
body.sidebar-right #main {
  float: left;
  margin: 0 20px 0 0;
  padding: 0;
  width: 700px;
}

/**
 * 4.SIDEBARS
 */
/* 3 columns: sidebar-first */
body.two-sidebars #sidebar-left {
  float: left;
  margin: 0 20px 0 -720px;
  padding: 0;
  width: 220px;
}

/* 3 columns: sidebar-second */
body.two-sidebars #sidebar-right {
  float: left;
  margin: 0;
  padding: 0px;
  width: 220px;
}

/* 2 columns: sidebar-first */
body.sidebar-left #sidebar-left {
  float: left;
  margin: 0 10px 0 0;
  padding: 0;
  width: 170px;
}

/* 2 columns: sidebar-second */
body.sidebar-right #sidebar-right {
  float: right;
  margin: 0;
  padding: 0;
  width: 220px;
}

/**
 * 5.HEADER
 */
#header {
  margin: 0 0 0.5em;
  padding: 1em 0 0;
  position: relative;
}

#header #logo {
  float: left;
  margin: 0 1em 0 0;
}

#header #site-name-slogan {
  float: left;
}

#header #site-name {
  font-family: Helvetica, Helvetica Neue, Arial, sans-serif;
  font-size: 3em;
  font-weight: bold;
  line-height: 1em;
  margin: 0;
}

#header #site-name a:hover {
  text-decoration: none;
}

#header #site-slogan {
  margin: 0;
}

#search-theme-form {
  float: right;
  margin: 1em 0 0;
}

/* Hides "Search this site:" label from search forms */
div#edit-search-theme-form-1-wrapper label, 
div#edit-search-block-form-1-wrapper label {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/**
 * 6.NAVIGATION
 */
#navigation {
  margin: 0 0 1.5em;
  padding: 0;
}

#navigation ul.primary-links {
  background: #ddd;
  margin: 0;
  padding: 0;
}

#navigation ul.primary-links li {
  float: left;
  margin: 0;
  padding: 0;
}

#navigation ul.primary-links li a {
  display: block;
  float: left;
  line-height: 3em;
  padding: 0 1em;
}

#navigation ul.secondary-links {
  background: #eee;
  margin: 0;
  padding: 0;
}

#navigation ul.secondary-links li {
  margin: 0;
  padding: 0;
}

#navigation ul.secondary-links li a {
  display: block;
  float: left;
  line-height: 3em;
  padding: 0 1em;
}

#skip-link {
  position: absolute;
}

.breadcrumb {
  padding-bottom: 1.0em;
}

/* menus and item lists */
.item-list ul {
  margin: 0;
  padding: 0 0 0 1.5em;
}
.item-list ul li {
  margin: 0;
  padding: 0;
}

ul.menu li {
  margin: 0;
  padding: 0;
}

ul.inline {
  clear: both;
}

ul.inline li {
  margin: 0;
  padding: 0 1em 0 0;
}

/* admin tabs */
.tabs-wrapper {
  margin: 1px 0 1.5em;
}

ul.primary {
  margin: 0;
  padding: 1px 0 0;
}

ul.secondary {
  line-height: 3em;
  margin: 0 0 -1px;
  padding: 0;
}

ul.secondary a.active {
  border-bottom: none;
}

/**
 * 7.NODES
 */
#page-title {
  font-size: 2em;
  line-height: 1.5em;
  margin-bottom: 0;
}

.node {
  margin-bottom: 1.5em;
}

/* tags */
.terms {
  margin: 0 0 1.5em 0;
}

.terms span {
  font-weight: bold;
}

/* profile */
.profile {
  margin: 1.5em 0;
}

.profile h3 {
  border: none;
}

.profile dt {
  margin-bottom: 0;
}

.profile dd {
  margin-bottom: 1.5em;
}

/**
 * 8.COMMENTS
 */
#comments {
  clear: both;
  margin-top: 1.5em;
}

.comment {
  margin-bottom: 1.5em;
}

.comment .new {
  color: red;
  text-transform: capitalize;
}

/**
 * 9.BLOCKS
 */
.block {
  margin-bottom: 1.5em;
  position: relative;
}

/* login block */
#user-login-form {
  padding: 0;
  text-align: left;
}

#user-login-form .form-item {
  margin: 1em 0;
}

#user-login-form .item-list ul li {
  background: none;
  margin: 1em 0;
  padding: 0;
}

/* block configuration links */
section.block div.edit {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  display: none;
  font-size: 9px;
  margin: 0;
  overflow: hidden;
  padding: 2px 0 2px 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 40;
}

section.block:hover div.edit {
  display:block;
}

section.block div.edit a {
  color: #999;
  margin-right: 10px;
}

section.block div.edit:hover a {
  color: #000;
}

/* views configuration links */
div.view {
  position: relative;
}

div.view div.views-hide-hover,
div.view:hover div.views-hide,
div.view div.views-admin-links,
div.view div.views-admin-links-hover,
div.view div.views-admin-links:hover {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  font-size: 9px;
  margin-right: 0;
  margin-top: 0;
  padding: 0;
  padding-left: 10px;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

div.view div.views-admin-links li a {
  color: #999;
}

/**
 * 10.FOOTER
 */
#footer {
  clear: both;
  padding: 1.5em 0;
  position: relative;
}

#footer a.feed-icon {
  position: absolute;
  right: 0;
  top: 1.416667em;
}

/* support drupal */
#footer #block-system-0 {
  position: absolute;
  right: 25px;
  top: 1.5em;
}

/**
 * 11.CSS SUPPORT
 */

/**
 * Hide elements from all users.
 *
 * Used for elements which should not be immediately displayed to any user. An
 * example would be a collapsible fieldset that will be expanded with a click
 * from a user.
 */
.element-hidden {
  display: none;
}

/**
 * Hide elements visually, but keep them available for screen-readers.
 *
 * Used for information required for screen-reader users to understand and use
 * the site where visual display is undesirable. Information provided in this
 * manner should be kept concise, to avoid unnecessary burden on the user.
 * "!important" is used to prevent unintentional overrides.
 */
.element-invisible {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/**
 * The .element-focusable class extends the .element-invisible class to allow
 * the element to be focusable when navigated to via the keyboard.
 */
.element-invisible.element-focusable:active,
.element-invisible.element-focusable:focus {
  position: static !important;
  clip: auto;
}

/**
 * Markup free clearing.
 *
 * @see http://perishablepress.com/press/2009/12/06/new-clearfix-hack
 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
/* IE6 */
* html .clearfix {
  height: 1%;
}
/* IE7 */
*:first-child + html .clearfix {
  min-height: 1%;
}

/* Styling for tjtabs */

/* START::Styling for general views */


/* END::Styling for general view */


/* START::Styling for item view template */

.header-row div {
        text-align: center;
        font-weight: bolder;
        border: solid 1px #c3c3c3;
        margin-bottom: 6px;
}

.items-row {
        padding-bottom: 3px;
        border-bottom: solid 1px #d6d6d6;
}

.items-row div {
        font-size: 10px;
        margin-left: 2px;
}

.field-ttl {
        font-weight: bolder;
}

/* END::Styling for item view template */

/* START::Styling for booking_main.tpl */

.content-nav-link {
        font-size: 14px;
}

.ad-plcmnt-row {
        overflow: auto;
}

.ad-plcmnt-row div {
        width: 190px;
        float: left;
        margin-right: 6px;
}

.ad-plcmnt-row .ad-plcmnt-channels {
        margin-right: 0px;
}

/* END::Styling for booking_main.tpl */

/* START::Styling for company_main.tpl */

.contact-row {
        overflow: auto;
}

.contact-row div {
        width: 90px;
        min-height: 12px;
        float: left;
        margin-right: 6px;
}

.contact-row .contact-email {
        margin-right: 0px;
}

.company-content fieldset .contact-row div.contact-name { width: 142px; }
.company-content fieldset .contact-row div.contact-position { width: 65px; }
.company-content fieldset .contact-row div.contact-acct-dept { width: 75px; }
.company-content fieldset .contact-row div.contact-work-phone { width: 110px; }
.company-content fieldset .contact-row div.contact-home-phone { width: 82px; }
.company-content fieldset .contact-row div.contact-mobile-phone { width: 82px; }
.company-content fieldset .contact-row div.contact-email { width: 176px; }

.booking-content fieldset .ad-plcmnt-row div.ad-plcmnt-type { width: 250px; }
.booking-content fieldset .ad-plcmnt-row div.ad-plcmnt-volume { width: 60px; }
.booking-content fieldset .ad-plcmnt-row div.ad-plcmnt-dates { width: 200px; }
.booking-content fieldset .ad-plcmnt-row div.ad-plcmnt-channels { width: 250px; }

.tjtabs-general-cluster { float: none;clear: both;overflow: auto; }
.tjtabs-general-cluster div { float: left;margin-right: 28px; }
.tjtabs-general-container { float: none;clear: both;overflow: auto; }
.tjtabs-general-container div.tjtabs-general-block { float: left;margin-right: 40px; }

#booking-create-form div.form-item label,
#company-create-form div.form-item label { float: left;clear: left;margin-right: 4px; }
#booking-create-form fieldset,
#company-create-form fieldset { padding: 0.3em 1em; }
#booking-create-form fieldset.tjtabs-shrinked-form .form-item,
#company-create-form fieldset.tjtabs-shrinked-form .form-item { margin: 4px 16px 4px 0px; }
.tjtabs-shrinked-form div.form-item div.description { display: none; }
.tjtabs-shrinked-form div.container-inline-date div.form-item { margin: 0px !important; }

.tjtabs-general-form-cluster { float: none;clear: both;overflow: auto; }
.tjtabs-general-form-cluster .form-item, .tjtabs-general-form-cluster input { float: left;margin-right: 16px; }
.tjtabs-general-form-cluster .form-item { margin-top: 3px; }
.tjtabs-general-form-container { float: none;clear: both;overflow: auto; }
.tjtabs-general-form-container div.tjtabs-general-form-block { float: left;margin-right: 40px; }
.tjtabs-general-form-container div.tjtabs-last-block { margin-right: 0px; }
fieldset.mcf_item { width: 766px;}
fieldset#fs_wbd_wrapper div.wbd-item-type { float: left;margin-left: 16px;margin-right: 6px;width: 194px;overflow: auto; }
fieldset#fs_wbd_wrapper div.wbd-item-volume { float: left;margin-right: 6px;width: 75px;overflow: auto; }
fieldset#fs_wbd_wrapper div.wbd-item-dates { float: left;margin-right: 6px;width: 165px;overflow: auto; }
fieldset#fs_wbd_wrapper div.wbd-item-channels { float: left;margin-right: 6px;width: 195px;overflow: auto; }

fieldset#fs_wbd_wrapper div.form-item input.wbd-item-type { float: left;margin-right: 6px;width: 190px; }
fieldset#fs_wbd_wrapper div.form-item input.wbd-item-volume { float: left;margin-right: 6px;width: 70px; }
fieldset#fs_wbd_wrapper div.form-item input.wbd-item-dates { float: left;margin-right: 6px;width: 160px; }
fieldset#fs_wbd_wrapper div.form-item input.wbd-item-channels { float: left;margin-right: 6px;width: 260px; }

/* END::Styling for booking_main.tpl */

#edit-company-details-agency-53-wrapper label,
#edit-company-details-agency-54-wrapper label,
#edit-company-details-agency-55-wrapper label {
        margin-top: 4px;
}

#edit-company-details-agency-53-wrapper label input,
#edit-company-details-agency-54-wrapper label input,
#edit-company-details-agency-55-wrapper label input {
        margin: 0px 0px 0px 8px;
}

#tjtabs-agency-radios-wrapper {
        height: 92px;
        margin-bottom: 12px;
        /* overflow: auto; */
}

div#tjtabs-agency-radios-wrapper div.form-item {
        margin: 0px !important;
}

div#tjtabs-agency-radios-wrapper div.form-item div.form-radios {
        margin: 0px !important;
}

#edit-company-details-agency-sources-wrapper,
#edit-company-details-agency-commision-rate-wrapper,
#ag-cmsn-pers-symb {
        position: relative;
}

#edit-company-details-agency-sources {
        position: absolute;
        top: 39px;
        left: 149px;
}

#edit-company-details-agency-commision-rate {
    height: 12px;
    left: 253px;
    position: absolute;
    top: 60px;
    width: 45px;
}

#ag-cmsn-pers-symb div {
    left: 309px;
    position: absolute;
    top: 60px;
}

.tjtabs-general-form-cluster .form-item .form-radios {
    height: 26px;
    margin: 0;
    width: 340px;
}

.tjtabs-general-form-cluster .form-item .form-radios div.form-item {
        float: left;
        margin: 0px 16px 0px 0 !important;
}

div.print-pdf-button {
        width:100px;
        padding: 1px 3px;
        margin: 4px 0;
        border: solid 1px #aaaaaa;
        background-color: #e6e6e6;
}

div.print-pdf-button a img {
        position: relative;
        top: 2px;
}

div#edit-company-details-notes-wrapper div.resizable-textarea span textarea#edit-company-details-notes { width: 274px;height: 80px; }
div#edit-company-details-notes-wrapper div.resizable-textarea span div.grippie { display:none; }


#bk-search-spend-wrapper div,
#bk-search-spend-wrapper div label {
        float: left;
        margin-right: 4px;
}

#bk-filter-form div fieldset fieldset.collapsed,
#cmp-filter-form div fieldset fieldset.collapsed {
        padding-bottom: 0px;
        padding-top: 0px;
}

#bk-search-buttons-wrapper {
        margin-top: 14px;
        float: none;
        clear: both;
}

#fe-date-filter-wrapper {
    height: 56px;
    margin-top: -15px;
    padding-top: 0;
    width: 780px;
}

#fe-date-filter-wrapper #edit-month-wrapper,
#fe-date-filter-wrapper #edit-year-wrapper {
        float: left;
        margin-right: 12px;
}

#fe-buttons-filter-wrapper,
#bk-search-spend-wrapper,
#bk-form-received-wrapper {
        float: none;
        clear: both;
}

#bk-form-received-wrapper .form-item div {
        margin-top: 0px;
}

#bk-form-received-wrapper .form-item div,
#bk-form-received-wrapper .form-item label {
        float: left;
        margin-right: 4px;
}

#bk-form-received-wrapper .form-item .form-radios {
        margin: 0px;
}

#bk-form-received-wrapper .form-item .form-radios .form-item {
        margin-right: 10px;
}

#bk-form-received-wrapper .form-item .form-radios .form-item .option input {
        margin-top: -4px;
}

#edit-clients-name-wrapper {
        margin-top: 0px;
}

#edit-clients-name-wrapper input,
#edit-clients-name-wrapper label {
        float: left;
}

#bk-filter-form label {
        margin-right: 4px;
}

.bk-search-date-wrapper {
        float: none;
        clear: both;
        overflow: auto;
}

.bk-search-date-wrapper div.date-clear-block {
        clear: none !important;
}

.bk-search-date-wrapper label,
.bk-search-date-wrapper div {
        float: left;
}

.bk-search-date-wrapper .container-inline-date .form-item .form-item input,
.bk-search-date-wrapper .container-inline-date .form-item .form-item div {
        float: none;
        clear: both;
}

.bk-search-date-wrapper .container-inline-date .form-item .form-item .description {
        display: none;
}

#bk-ddowns-wrapper,
#bk-chkboxes-wrapper {
        float: left;
}

#edit-look-for-wrapper {
        float: none;
        clear: both;
        overflow: auto;
}

#edit-look-for-wrapper {
        margin-top: 0px;
}

#edit-look-for-wrapper label,
#edit-look-for-wrapper input {
        float: left;
}

#edit-look-for-wrapper label,
#bk-ddowns-wrapper div label {
        margin-right: 4px;
}

#bk-ddowns-wrapper {
        margin-right: 40px;
        overflow: auto;
}

#bk-ddowns-wrapper div.form-item {
        overflow: auto;
        margin-bottom: 10px;
}

#bk-ddowns-wrapper div label,
#bk-ddowns-wrapper div select {
        float: left;
}

div.ccd-item-title .form-item label { margin-left: 14px;width: 55px; }
div.ccd-item-first-name .form-item label { width: 72px; }
div.ccd-item-last-name .form-item label { width: 72px; }
div.ccd-item-position .form-item label { width: 62px; }
div.ccd-item-acct-dept .form-item label { width: 66px; }
div.ccd-item-work .form-item label { width: 118px; }
div.ccd-item-home .form-item label { width: 64px; }
div.ccd-item-mobile .form-item label { width: 60px; }
div.ccd-item-email .form-item label { width: 122px; }

select.ccd-item-title { width: 54px;margin-right: 6px; }
input.ccd-item-first-name { width: 64px;margin-right: 6px; }
input.ccd-item-last-name { width: 64px;margin-right: 6px; }
input.ccd-item-position { width: 54px;margin-right: 6px; }
input.ccd-item-acct-dept { width: 54px;margin-right: 6px; }
input.ccd-item-work-phone { width: 54px;margin-right: 6px; }
input.ccd-item-work-ext { width: 24px;margin-right: 6px; }
input.ccd-item-home { width: 54px;margin-right: 6px; }
input.ccd-item-mobile { width: 54px;margin-right: 6px; }
input.ccd-item-email { width: 116px;margin-right: 6px; }

#tjtabs-companyform-mainfieldset {
        width: 794px;
        height: 336px;
        padding: 3px 10px;
        margin: 5px 0px;
}

#tjtabs-companyform-maincontainer {
        width: 794px;
        height: 322px;
        padding: 0px;
        margin: 0px;
}

#tjtabs-companyform-leftblock {
        width: 360px;
        height: 320px;
}

#tjtabs-companyform-rightblock {
        width: 360px;
        height: 320px;
}

