/** 
 * The basic layout of Carrot Search Circles demo pages.
 */


body, input, button, select {
  font-family: Arial, sans-serif;
  font-size: 13px;
}

input[type='text'], input[type='search'], select {
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 3px 4px;
  border-style: solid;
  border-width: 1px;
}
select {
  padding: 2px 4px;
}

input[type='text'],
input[type='search'],
select {
  border-color: #ccc;
}


input:focus,
select:focus,
input:focus,
select:focus {
  background-color: #fff;
  box-shadow: 0 0 2px #f1ca7f;
  border-color: #c7a158;
}

input.example {
  color: #888;
}

small {
  font-size: 100%;
}

a {
  color: #2489CE;
  color: #1678c4;
}

.foamtreecontainer,
.facetscontainer,
.documentscontainer,
.closedocs, .closefacets  {
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.closedocs, .closefacets {
  border-radius: 3px 3px 0 0;
  position: absolute;
  top: -22px;
  padding: 1px 6px;
  font-size: 13px;
  color: #888;
  border-bottom: none !important;
  z-index: 30;
  background-color: white;
  text-decoration: none;
  background-repeat: no-repeat;
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/circle-x.png);
}
.closedocs {
  right: 0;
  background-position: right 4px;
  padding-right: 22px;
}
.closedocs.panel-hidden {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/documents-smaller.png);
}
.closefacets {
  background-position: left 4px;
  padding-left: 22px;
  left: 0;
}
.closefacets.panel-hidden {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/facets-smaller.png);
}


.foamtreecontainer,
.facetscontainer,
.documentscontainer,
.closedocs,
.closefacets {
  border: 1px solid #ddd;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}
.closedocs,
.closefacets {
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.1);
}

.searchcontainer {
  font-size: 13px;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 30px;
}

.nosearch .searchcontainer {
  display: none;
} 
.nosearch .resultscontainer {
  top: 40px;
}

#tc .foamtreecontainer {
  left: 0;
  margin-left: 0;
}

input[name = 'query'] {
  width: 14em;
}
#tc input[name = 'query'] {
  width: 12em;
}
input[name = 'from'],
input[name = 'to'] {
  width: 5.5em;
}
input[name='results'] {
  width: 5.5em;
}
input[name='days'] {
  width: 2em;
}
input[type='checkbox'] {
  vertical-align: -10%;
  margin-right: 0.3em;
}

.fromlabel, .tolabel {
  display: none;
}

.dates {
  width: 24em;
  display: inline-block;
  *display: inline;
  *padding-right: 3em;
}
#tc .dates {
  width: 31em;
}

.clear {
  font-weight: bold;
  font-size: 22px;
  color: #888;
  vertical-align: -2px;
  text-decoration: none;
  padding: 0 0 0 4px;
}
.clear:hover {
  color: #000;
}

.print, .link, .datemode, .colormode {
  background-repeat: no-repeat;
  background-position: 0 1px;
  padding-left: 22px;
  text-decoration: none;
  color: #666;
}

.print:hover,
.link:hover,
.datemode:hover,
.colormode:hover {
  color: #444;
}

.link {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/link_inactive.png);
  padding-right: 10px;
}
.link:hover {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/link.png);
}

.datemode {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/date_inactive.png);
}
.datemode:hover {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/date.png);
}

.colormode {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/sentiment_inactive.png);
}
.colormode:hover {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/sentiment.png);
}

.print {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/printer_inactive.png);
  position: absolute;
  top: -52px;
  right: 0;
}
.print:hover {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/printer.png);
}
body.printEnabled .print {
  display: block;
}


.searchcontainer > div > button {
  background-color: #e62619;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  padding: 0 10px 0 10px;
  font-weight: bold;
  line-height: 160%;
  color: #fff;
}

.searchcontainer > div > button {
  border: 1px solid #cf2217;
}

.searchcontainer > div > button:hover,
.searchcontainer > div > button:focus,
.searchcontainer > div > button:active {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  border: 1px solid #b61e14;
}  

.searchcontainer > div > button[disabled] {
  border: 1px solid #222;
  background-color: #aaa;
  color: #ccc;
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.resultscontainer {
  position: absolute;
  top: 80px;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.foamtreecontainer {
  position: absolute;
  left: 15%;
  right: 30%;
  margin-right: 20px;
  margin-left: 20px;
  top: 0;
  bottom: 0;
}
#tc .foamtreecontainer {
  right: 35%;
}
.ios #tc .foamtreecontainer {
  right: 40%;
}

#nc-foamtree,
#tc-foamtree {
  outline: none;
  width: 100%;
  height: 100%;
}

.facetscontainer {
  position: absolute;
  width: 15%;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 20;
}

.documentscontainer {
  position: absolute;
  width: 30%;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 20;
}
#tc .documentscontainer {
  width: 35%;
}
.ios #tc .documentscontainer {
  width: 40%;
}


.documents {
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  padding: 10px 25px 10px 8px;
}
.ie .documents {
  left: -36px;
}

.twitter-anywhere-user {
  text-decoration: none;
}

.documentscontainer.hasDocuments {
  background-color: #000;
}
.documentscontainer.hasDocuments > .documents {
  background-color: #141312;
}

/** NC documents */
#nc .documents {
  line-height: 1.2;
  list-style: none;
  margin-top: 0;
}
#nc .documents > li {
  padding-left: 18px;
}
#nc .documents > li.head {
  margin-top: 50px;
  position: relative;
}
#nc .documents > li.head > .preview {
  width: 20px;
  height: 16px;
  position: absolute;
  left: -2px;
  top: 2px;
  background-repeat: no-repeat;
  cursor: pointer;
}
#nc .documents > li.head > .preview {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #ddd;
  margin-top: 2px;
  transition: all 0.7s;
  -ms-transition: all 0.7s;
  -moz-transition: all 0.7s;
  -webkit-transition: all 0.7s;
  -o-transition: all 0.7s;
}
#nc .documents > li.head > .preview.open {
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);

  /*border-width: 12px 7px 0 7px;*/
  /*border-color: #ddd transparent transparent transparent;*/
}
#nc .documents > li.head > .new-window {
  padding-left: 24px;
  padding-right: 6px;
  padding-top: 4px;
  background: url(https://dashboard.finchline.nl/App_Themes/img/open-in-new-window.png) no-repeat 6px 1px;
}

#nc .documents > li.head:first-child {
  margin-top: 0;
}
#nc .documents > li.head > h1 {
  font-size: 18px;
  display: inline;
}
#nc .documents > li.head > h1 > a {
  text-decoration: none;
}
#nc .documents > li.head > h1 > a {
  color: #222;
}
#nc .documents > li.head > .ui-li-count {
  white-space: nowrap;
  padding: 1px 3px;
  font-size: 10px;
  position: relative;
  left: 6px;
  bottom: 3px;
  border-radius: 3px;
}
#nc .documents > li.head > .ui-li-count {
  border: 1px solid #ddd;
  background-color: #eee;
  color: #666;
}

/** TC documents */
#tc .documents {
  line-height: 1.4;
  list-style: none;
  margin-top: 0;
}
#tc .documents > li {
  padding-left: 58px;
  margin-bottom: 30px;
  position: relative;
}
#tc .documents > li > a.twitteruser {
  text-decoration: none;
  display: block;
  padding-right: 6.5em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#tc .documents > li > a > img {
  position: absolute;
  margin-left: -58px;
  border-radius: 3px;
  max-width: 48px;
  max-height: 48px;
}
#tc .documents > li > a > h1 {
  font-size: 14px;
  display: inline;
  padding-right: 0.3em;
  color: black;
}
#tc .documents > li > a:hover > h1 {
  color: inherit;
  text-decoration: underline;
}
#tc .documents > li > a > .author {
  font-size: 12px;
  color: #999;
}
#tc .documents > li > .date  {
  position: absolute;
  margin-top: 2px;
  margin-right: 16px;
  right: 0;
  top: 0;
  font-size: 12px;
  color: #999;
}
#tc .documents > li > .preview {
  color: #999;
}

#tc .documents > li > .details {
  display: block;
  position: absolute;
  right: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  background: url(https://dashboard.finchline.nl/App_Themes/img/twitter-logo.png) no-repeat 0 0;
}


/** Common documents */
.documents.sentiment a.positive {
  color: #99ff97;
  color: #0e9126;
}
.documents.sentiment a.negative {
  color: #ffbaa7;
  color: #b73342;
}
.documents.default a.positive,
.documents.default a.negative,
.documents a.not_set,
.documents a.unknown,
.documents a.neutral {
}
.documents .summary,
.documents .sources {
  font-size: 13px;
}
.documents .summary {
  display: none;
}
.documents .sources {
  clear: both;
}
.documents .sep {
  color: #555;
}
.documents > li img {
  max-width: 150px;
  max-height: 150px;
  margin-right: 10px;
  margin-top: 3px;
  margin-bottom: 10px;
  float: left;
}
.sharing {
  clear: both;
}
.ie .sharing > div {
  display: inline !important;
}
.IN-widget {
  position: relative;
  top: 1px;
}
.com, .per {
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 2px;
  white-space: nowrap;
  margin-right: 4px;
  margin-top: 4px;
  float: left;
}
.com {
  background-color: #e1f1ff;
}
.per {
  background-color: #fffacd;
}

.breadcrumbs {
  font-size: 13px;
  margin: 0 4px;
  padding: 8px 0 8px 6px;
  min-height: 3ex;
  position: relative;
}

.breadcrumbs > a,
.breadcrumbs > span {
  padding: 0 0.5em 0 0;
}


.facets {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  right: 4px;
  
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px 21px 6px 2px;
  
  font-size: 13px;
}

.facets > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}
.facets > ul > li {
  margin: 0;
  padding: 0;
}
.facets > ul > li:first-child {
  font-weight: bold;
}
.facets > ul > li:first-child {
  color: #222;
}
.facets > ul > li > input {
  position: absolute;
  margin-left: 0;
}
.facets > ul > li > span {
  display: block;
  padding-left: 20px;
  color: #777;
}
.ie .facets > ul > li > span {
  *margin-top: -16px;
}
.facets > ul > li > span > a {
  text-decoration: none;
}
.facets > ul > li > span > a {
  color: #333;
}
.facets > ul > li > span > a:hover {
  text-decoration: underline;
}

.ui-datepicker-div {
  font-size: 12px;
  margin-top: 2px;
  z-index: 30 !important;
}
.ui-corner-all {
  border-radius: 2px !important;
}

#ui-datepicker-div {
  border: 1px solid #ccc;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px;
  z-index: 5001 !important;
}

.loading, .no-results {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 16px;
  z-index: 5000;
}

.loading,
.no-results {
  color: #666;
  border-radius: 2px;
}

.loading {
  width: 77px;
  height: 34px;
  margin-left: -62px;
  margin-top: -35px;
  padding-top: 8px;
  padding-left: 45px;
  background-position: 5px 5px;
  background-repeat: no-repeat;
}
.loading {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/progress-light.gif);
}
.refreshing {
  background-image: url(https://dashboard.finchline.nl/App_Themes/img/progress-light.gif);
  background-position: 0 0;
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  position: absolute;
  margin-top: 1px;
  right: 0;
  display: none;
}

.loading-overlay {
  background-image: -webkit-gradient(radial, center center, 0, center center, 600, from(rgba(255, 255, 255, 1)), to(rgba(255, 255, 255, 0.7)));
  background-image: -moz-radial-gradient(center 45deg, circle closest-side, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 90%);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4999;
}
.no-radial .loading-overlay {
  background-color: #fff;
  opacity: 0.85;
}

.no-results {
  width: 400px;
  height: 50px;
  margin-left: -210px;
  margin-top: -55px;
  padding: 10px;
}

/** Fullscreen mode, only visualization */
.fullscreen .print,
.fullscreen .closedocs,
.fullscreen .closefacets,
.fullscreen .searchcontainer {
  display: none;
}

.fullscreen .documentscontainer,
.fullscreen .foamtreecontainer,
.fullscreen .facetscontainer {
  border: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.fullscreen .documentscontainer,
.fullscreen .facetscontainer {
  display: none !important;
}
.fullscreen .resultscontainer {
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
}

.fullscreen .foamtreecontainer {
  top: 0px;
  bottom: 0px;
  left: 0px !important;
  right: 0px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.nofacets .facetscontainer,
.nofacets .closefacets {
  display: none;
}


.ie button {
  *height: 22px;
  *width: 75px;
}

/** Google-like scrollbars */
.desktop ::-webkit-scrollbar {
  width: 12px;
}
.ios ::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #fcfcfc;
  -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
  background: #CCC;
  -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: #AAA;
}

::-webkit-scrollbar-thumb:active {
  background: #888;
  -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.3);
}