/*!
 * TSB Redesign v0.3
 *
 * Built on Twitter Bootstrap
 *
 */

/* text size */
.smalltext
{
    font-size: 0.846em;
}

/* colors */

.red {
  color: #E74C3C;
  color: rbga(231,76,60,1);
}

.darkblue {
  color: #2C3E50;
  color: rgba(44,62,80,1);
}

.medblue {
  color: #2980B9;
  color: rgba(41,128,185,1);
}

.lightblue {
  color: #3498DB;
  color: rgba(52,152,219,1);
}

.gray {
  color: #ECF0F1;
  color: rgba(236,240,241,1);
}

.darkgray {
  color: #919394;
  color: rgba(145,147,148,1);
}
/* Body */
body {  
  background-color: #f0f0f0;
  padding-top: 64px;
}

@media (max-width: 767px) {
  body { padding-top: 51px; }
}

/* Main page content */
#wrap {
  background-color: #fff;
}

/* Footer */
footer {
    background-color: #f0f0f0;
    font-size: 12px;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer hr {
    border-top: 1px solid #919394;
}

footer .copyright {
    font-size: 11px;
}

.box-shadow {
	background-color: #f0f0f0;
	-webkit-box-shadow: 0px -3px 10px rgba(0,0,0,.8);
     -moz-box-shadow: 0px -3px 10px rgba(0,0,0,.8);
          box-shadow: 0px -3px 10px rgba(0,0,0,.8);
    padding:15px;
}

fieldset.ct-fs-compact {
	font-size: 12px;
}

fieldset.ct-fs-compact legend {
	font-size: 14px;
	font-weight: bold;
	padding: 0px;
	margin: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: sans-serif;
}

ul.nostyle > li {
    list-style: none;
}

/* Comtrade intenral */
.navbar-brand .ct-internal {
    color: white;
    font-weight: bold;
    background-color: #999;
    padding: 9px 10px 12px 10px;
}

/* Description list */
ul.ct-dfn {
    margin-left: 0px;
    padding-left: 0px;
}

ul.ct-dfn > li {
    list-style: none;
    margin-left: 0px;
    padding-left: 5px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(52,152,219,0.5);
}

ul.ct-dfn ul.ct-dfn > li {
    margin-left: 30px;
    padding: 5px 0px 10px 0px;
    border-top: none;
}

/* emdash after dfn tag */
ul.ct-dfn > li dfn:after { content: ' \2014 '; }

dfn {
    font-weight: bold;
    color: #2C3E50;
}

/* Sidetab (rotated vertical) */
.sidetab {
    background: #2C3E50;
    padding: 7px 10px 7px 10px;
    color: #fff;
    text-decoration: none;
    position: fixed;
    z-index: 1050;
    -webkit-border-top-right-radius: 5px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 5px;
    -moz-border-radius-topright: 5px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -moz-border-radius-topleft: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 5px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-box-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 1px rgba(0,0,0,0.2);
    text-shadow: 0 -1px 0 rgba(68,68,68,0.3);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

a.sidetab:hover {
    color: #fff;
}

.bugtab {
    background: #919394;
}

.bugtab:hover {
    background: #800000;
}

#ct-feedback-tab {
    top: 100px; right: -25px
}

#ct-bug-tab {
    top: 170px; right: 0px
}

/* Spacing */
.first {
    margin-top: 0;
    padding-top: 0;
}

.card {
  background-color: #fff;
  padding: 5px 10px;
  padding-top: 5px;
  border-bottom: solid 1px #ECF0F1;
  box-shadow: 3px 3px 5px #888888;
}

.card h2 {
  background-color: #3498DB;
  color: #fff;
  display:block;
  margin: -5px -10px 5px -10px;
  padding: 10px;
}

.card h4 a {
  display: block;
  background-color: #ECF0F1;
  padding: 7px;
}

.card h4 a:hover {
  display: block;
  background-color: #E74C3C;
  color: #fff;
  padding: 7px;
}

.share a, a:hover {
  text-decoration: none;
}

p.sidebar {
  font-size: 12px;
}

.ct-step-title {
  font-size: 14px;
  background-color: #2980B9;
  font-weight: bold;
  color: white;
  padding: 3px;
}

.ct-step-title-Bulk {
  font-size: 14px;
  background-color: #989090;
  font-weight: bold;
  color: white;
  padding: 3px;
}



.ct-step-spacing {
  border-top: 1px solid #2980B9;
  margin-top: 15px;
}

.ct-periods-lbl-spacing {
    margin-top: 15px;
}

.ct-data-footnote {
    color: #919394;
    color: rgba(145,147,148,1);
    font-size: 0.846em;
}

.ct-data-footnote p {
    margin-bottom: 0;
}

hr.ct-sectionbreak {
    margin-top: 10px;
    margin-bottom: 2px;
}

.hero-unit,.jumbotron {
  padding: 60px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 200;
  line-height: 25px;
  color: #fff;
  background-color: #2980B9;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
}

.jumbotron h1 {
  margin-bottom: 40px;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -1px;
  color: inherit;
}

/* UN bar */
.un-bar {
  background-color: #2C3E50;
  color:#fff;
  padding: 3px 3px 3px 15px;
  text-transform: uppercase;
  font-size: 11px;
  color:#fff;
}

.un-bar a {
  color:#fff;
}

/* Comtrade bar */
.navbar-default {
  background-color: #2980B9;
}

.comtrade-nav {
  background-color: #2980B9;
  color:#fff;
  /*padding: 3px 3px 3px 15px;*/
  font-weight: 200;
  /*font-size: 18px;*/
  border-width: 0;
  border-radius: 0;
  white-space: nowrap;
  /*margin: -15px -15px 10px -15px;*/
  min-height: 40px;
}

.comtrade-nav .navbar-brand {
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
}

.comtrade-nav .navbar-nav li a {
    color: #fff;
    padding-top: 10px;
    padding-bottom: 12px;
}

.comtrade-nav .navbar-nav .dropdown-menu li a {
    color: #000;
    padding-top: 5px;
    padding-bottom: 5px;
    width:250px !important;
}

@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
        background-color: #3498DB;
	    color: #fff;
    }
}

.comtrade-nav .navbar-nav li a:hover {
    background-color: #3498DB;
	color: #fff;
}

.comtrade-nav .active a {
    background-color: #2C3E50;
	color: #fff;
}

/* Select2 related */
.ct-select2,
.ct-select2base {
    width: 100%;
}

/* Form related */
.ct-form i
{
    font-size: 0.85em;
    color: #919394;
}

.ct-form i 
{
    font-style: normal;
}

/* jquery.Datatables related */
/* paginate_button is used for the button display of the data table */

/* data table alignment helpers*/
td.dt-right {
    text-align: right;
}

div.dataTables_length label {
    font-weight: normal;
    font-size: 0.85em;
}

.ct-data-table-container {
    width:100%;
    overflow:auto;
    margin-bottom: 10px;
}

/* data table look/feel */
tr.odd {
    background-color: #DDE8FF;
}

table.dataTable,
.ct-data-table {
    margin-bottom: 10px;
}

.dataTables_paginate {
    margin-bottom: 10px;
}

.dataTables_info {
    color: #878787;
    font-size: 0.846em;
    left: 0;
    margin: 4px 8px 2px 10px;
    position: absolute;
    text-align: left;
}

.dataTables_length {
    float: right;
}

.paging_full_numbers
a.paginate_button {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.paging_full_numbers
a.paginate_button:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.paging_full_numbers
a.paginate_button:focus,
.paging_full_numbers
a.paginate_button:hover {
  color: #333;
  text-decoration: none;
}
.paging_full_numbers
a.paginate_button:hover {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.paging_full_numbers
a.paginate_button { /* default styling */
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.paging_full_numbers
a.paginate_button { /* a small button */
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.paging_full_numbers
a.paginate_button {
  margin-left: 2px; /* put a little space between the buttons */
}
.paging_full_numbers
a.paginate_button_disabled {
  color: #999 !important;
  text-decoration: none;
}

.paging_full_numbers a.paginate_active
{
  color: #fff !important;
  background-color: #2980B9;
}

/* Docs navigation */
code {
    font-size: 13px;
    font-weight: 400;
}

h1.doc-section{
    margin-top: 0px;
}

h2.doc-section {
    width: 100%;
    border-bottom: 1px solid #919394;
}

@media (min-width:768px) {
    .ct-docs-sidebar {
        padding-left: 20px;
    }
}

.ct-docs-sidenav {
    margin-bottom: 20px;
}

.ct-docs-sidebar .nav > li > a {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #999;
    padding: 4px 20px;
}

.ct-docs-sidebar .nav > li > a:hover, .ct-docs-sidebar .nav > li > a:focus {
    padding-left: 19px;
    color: #2C3E50;
    text-decoration: none;
    background-color: transparent;
    border-left: 1px solid #2C3E50;
}

.ct-docs-sidebar .nav > .active > a, .ct-docs-sidebar .nav > .active:hover > a, .ct-docs-sidebar .nav > .active:focus > a {
    padding-left: 18px;
    font-weight: 700;
    color: #2C3E50;
    background-color: transparent;
    border-left: 2px solid #2C3E50;
}

.ct-docs-sidebar .nav .nav {
    display: none;
    padding-bottom: 10px;
}

.ct-docs-sidebar .nav li.active .nav {
    display: block;
}

.ct-docs-sidebar .nav .nav > li > a {
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 30px;
    font-size: 12px;
    font-weight: 400;
}

.ct-docs-sidebar .nav .nav > li > a:hover, .ct-docs-sidebar .nav .nav > li > a:focus {
    padding-left: 29px;
}

.ct-docs-sidebar .nav .nav > .active > a, .ct-docs-sidebar .nav .nav > .active:hover > a, .ct-docs-sidebar .nav .nav > .active:focus > a {
    font-weight: 500;
    padding-left: 28px;
}

/** timeline box structure **/
.timeline {
  list-style: none;
  padding: 20px 0 20px;
  position: relative;
}
 
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 3px;
  background-color: #eee;
  left: 50%;
  margin-left: -1.5px;
}
 
.tldate {
  display: block;
  width: 200px;
  background: #414141;
  border: 3px solid #212121;
  color: #ededed;
  margin: 0 auto;
  padding: 3px 0;
  font-weight: bold;
  text-align: center;
  -webkit-box-shadow: 0 0 11px rgba(0,0,0,0.35);
}
 
.timeline li {
  margin-bottom: 25px;
  position: relative;
}


/** Form validation messages **/
.field-validation-error {
    color: #a94442;
}

.validation-summary-errors li {
    color: #a94442;
    list-style: none;
    padding-top: 1em;
}