
/* global styles */
body {
  margin: 0;
  padding: 0;
}

body, td, th, textarea, input, select, h1, h2, h3, h4, h5, h6 {
  font-family: 'Lucida Grande', arial, helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #686868;
}

body a {
  text-decoration: none;
  font-weight: bold;
  color: #1c3d6a;
}

body a img {
  border: 0 none;
}

body p {
  margin: 0 0 10px 0;
}

/* form fields */
input[type="text"], input[type="password"], textarea {
  border: 1px solid #a6b1c3;
  padding: 5px;
  color: #000;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  margin: 0;
}

input[type="submit"], input[type="button"] {
  border: #a6b1c3 1px solid;
  background-color: #eee;
  font-weight: bold;
  color: #1c3d6a;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  padding: 2px 4px;
  cursor: pointer;
}

select {
  border: 1px solid #a6b1c3;
  padding: 2px;
  color: #000;
  outline-style: none;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.field-with-errors input[type="text"],
.field-with-errors input[type="password"],
.field-with-errors textarea {
  border: 1px solid red;
}

.field-with-errors select {
  border: 1px solid red;
}

/* common styles */
.black {
  color: #000;
}

.centered {
  text-align: center;
}

.inline {
  display: inline;
}

.bold {
  font-weight: bold;
}

.warning {
  color: #ff9922;
}

.error {
  color: red;
}

.xsmall {
  font-size: 10px;
}

/* clearers */
.clearer {
  clear: both;
  font-size: 0;
  line-height: 0;
  height: 0;
}

.clearer-left {
  clear: left;
  font-size: 0;
  line-height: 0;
  height: 0;
}

.clearer-right {
  clear: right;
  font-size: 0;
  line-height: 0;
  height: 0;
}

/* header */
.header-border {
  position: absolute;
  top: 37px;
  width: 100%;
  height: 4px;
  background-color: #1c3d6a;
  z-index: 10;
}

.header-title {
  background-color: #4d6f9f;
  float: left;
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 16px;
}

.header-title a {
  color: #fff;
}

.header-title .selected {
  position: relative;
  top: 1px;
  margin-left: 10px;
}

.header-welcome {
  position: absolute;
  right: 10px;
  top: 1px;
  font-size: 12px;
  color: #fff;
  font-weight: bold;
  font-style: italic;
}

.header-links {
  position: absolute;
  right: 10px;
  top: 18px;
  background-color: #1c3d6a;
  padding: 2px 3px;
  border-left: #1c3d6a 1px solid;
  border-right: #1c3d6a 1px solid;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
}

.header-links a {
  outline-style: none;
  padding: 0px 5px;
  color: #eee;
}

.header-tabs {
  background-color: #4d6f9f;
  float: left;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-top: 14px;
}

.header-tabs ul {
  clear: left;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  left: 50%;
  text-align: center;
  height: 27px;
}

.header-tabs ul li {
  display: block;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  right: 50%;
}

.header-tabs ul li a {
  display: block;
  margin: 0 2px 0 2px;
  padding: 5px 10px 5px 10px;
  color: #fff;
  text-decoration: none;
  outline-style: none;
  font-size: 12px;
  font-weight: normal;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

.header-tabs ul li a:hover {
  background: #fff;
  color: #1c3d6a;
  font-weight: normal;
  position: relative;
}

.header-tabs ul li a.current,
.header-tabs ul li a.current:hover {
  color: #1c3d6a;
  background: #fff;
  font-weight: bold;
  position: relative;
  padding-bottom: 6px;
  z-index: 30;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

/* container */
.container {
  margin: 0;
  padding: 5px 10px;
  clear: both;
}

/* sidebar */
.sidebar {
  float: right;
  width: 250px;
  margin: 0 5px;
}

/* work */
.work.with-sidebar {
  margin-right: 260px;
}

/* notice */
.notice-area {
  margin-bottom: 5px;
}

.notice {
  border: #fff 1px solid;
  padding: 5px;
  font-weight: bold;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.info-message {
  color: #1c3d6a;
  border: #a6b1c3 1px solid;
}

.warning-message {
  color: #ff9922;
  border: 1px solid #ff9922;
}

.error-message {
  color: red;
  border: 1px solid red;
}

/* footer */
.footer {
  margin: 0;
  padding: 0 10px;
  text-align: center;
}

/* labels */
.label-value {
  float: left;
  color: #059a02;
  border: #059a02 1px solid;
  background-color: #cce7c6;
  padding: 1px 5px;
  font-weight: bold;
  white-space: nowrap;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.small-label-name {
  color: #059a02;
}

.small-label-value {
  color: #059a02;
  border: #059a02 1px solid;
  background-color: #cce7c6;
  padding: 1px 2px;
  font-weight: bold;
  white-space: nowrap;
  font-size: 10px;
  margin-right: 3px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}

/* stars */
.star-icon {
  float: left;
  margin-top: 1px;
}

/* toolbar */
.toolbar {
  margin: 0;
  padding: 0;
  clear: both;
}

.toolbar-actions {
  padding: 6px 0 0 0;
  margin: 0;
  text-align: center;
}

.toolbar-actions ul {
  list-style: none;
  margin: 0 auto auto;
  padding: 0;
}

/* to prevent inline display on submenu */
.toolbar-actions td > ul > li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

.toolbar-button {
  float: left;
  margin: 0 5px;
  display: block;
  border: #a6b1c3 1px solid;
  padding: 2px 4px;
  background-color: #eee;
  display: block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.toolbar-button .plus {
  color: red;
  margin-right: 4px;
}

.toolbar-button-icon {
  vertical-align: text-top;
  margin-right: 4px;
  height: 16px;
  width: 16px;
}

.toolbar-submenu-button {
  float: left;
  margin: 0;
  display: block;
  border: #a6b1c3 1px solid;
  padding: 2px 4px;
  background-color: #eee;
  display: block;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.toolbar-separator {
  float: left;
  padding: 0 2px;
}

/* main panel */
.mainpanel-header {
  background-color: #eee;
  border-left: 1px solid #a6b1c3;
  border-right: 1px solid #a6b1c3;
  border-top: 1px solid #a6b1c3;
  padding: 4px 10px;
  -moz-border-radius-topleft: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-left-radius: 5px;
  -webkit-border-top-right-radius: 5px;
}

.mainpanel-header-title {
  font-size: 14px;
  font-weight: bold;
  color: #1c3d6a;
}

.mainpanel-header-title .plus {
  color: red;
  margin-right: 4px;
}
  
.mainpanel-body {
  padding: 0 10px;
  border-left: 1px solid #a6b1c3;
  border-right: 1px solid #a6b1c3;
  border-bottom: 1px solid #a6b1c3;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-bottomright: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
}

.mainpanel-container {
  padding-top: 10px;
  padding-bottom: 10px;
}

/* tips */
.tip {
  background-color: #fff39e;
  border: 1px solid #eee;
  padding: 2px 5px;
  font-weight: bold;
  color: #059a02;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.tip > img {
  position: relative;
  top: 2px;
  margin-right: 5px;
}

/* action buttons */
.action-button {
  border: #a6b1c3 1px solid;
  background-color: #eee;
  font-weight: bold;
  color: #1c3d6a;
  padding: 2px 4px;
  white-space: nowrap;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.action-button .plus {
  color: red;
  margin-right: 4px;
}

.small-action-button {
  border: #a6b1c3 1px solid;
  background-color: #eee;
  font-weight: bold;
  color: #1c3d6a;
  white-space: nowrap;
  padding: 1px 3px;
  font-size: 10px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.action-highlight {
  color: #059a02;
  font-weight: bold;
}

.action-cancel {
  font-weight: normal;
}

.action-close,
.action-update,
.action-delete,
.action-create {
  color: red;
}

input[type="submit"].action-create {
  color: red;
}

input[type="submit"].action-cancel {
  font-weight: normal;
}

.add-labels-button {
  color: #059a02;
}

.tag-blog-project,
.tag-blog-project select {
  font-size: 10px;
}


/* default text on input */
.default-text {
  position:absolute;
  left:5px;
  top:5px;
  color :#d3d3d3;
}

.default-text a {
  color:#d3d3d3;
}

/* networks */
.social-networks,
.ad-networks {
  position: relative;
  bottom: 2px;
}
  
.social-network-icon,
.ad-network-icon {
  position: relative;
  top: 5px;
  width: 16px;
}
  
/* auto complete suggestion */
div.autocomplete-suggestions {
  background-color: white;
  border: 1px solid #eaeaea;
  margin: 0;
  padding: 0;
  z-index: 5;
}

div.autocomplete-suggestions ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

div.autocomplete-suggestions ul li.selected { 
  background-color: #ffffcc;
}

div.autocomplete-suggestions ul li {
  list-style-type: none;
  display: block;
  margin: 0;
  padding: 2px;
  cursor: pointer;
}

/* user profile */
.user-profile-notice-area {
  margin-bottom: 0px;
  margin-right: 130px;
}

.user-profile-action-buttons {
  float: right;
  position: relative;
  top: 7px;
  right: 8px;
}

.section-header {
  background-color: #eee;
  padding: 4px 5px;
  font-weight: bold;
  color: #000;
  margin: 0 0 5px 0;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.section-header .toolbar-button {
  background-color: #fff;
  top: 1px;
}

.user-profile-table {
  width: 100%;
  margin-bottom: 5px;
}

.user-profile-table .col-field-name {
  width: 150px;
}

.user-profile-table td {
  vertical-align: top;
}

.user-profile-table input[type="text"], 
.user-profile-table input[type="password"],
.user-profile-table textarea {
  width: 250px;
}

.user-profile-origin {
  padding: 5px 3px;
  color: #000;
  font-size: 11px;
}
