﻿
/* ==========================================================================
   Document Layout
   ========================================================================== */

#document_main:before, #document_main:after {
  display: table;
  content: " ";
}
#document_sidebar {
  width: 30%;
  float: left;
  display: block;
}
#document_main, #document_sidebar {
  overflow: hidden;
}
/* ==========================================================================
   Document Page Sidebar
   ========================================================================== */

#document_sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#document_sidebar li {
  padding: 0 0 0 5px;
  border-radius: 3px;
  line-height: 1em;
}
#document_sidebar li a {
  padding: 15px 0;
}
#document_sidebar li a {
  display: block;
}
#document_sidebar li:hover a, #document_sidebar li:hover i {
  color: #fff;
}
#document_sidebar .sidebar_cat_title,
#document_sidebar .sidebar_doc_title {
  margin: 0;
}
#document_sidebar .sidebar_doc_title {
  padding: 0 0 0 22px;
}
#document_sidebar a, #document_sidebar a:hover {
  text-decoration: none;
}
.sidebar_cat_title a {
  cursor:pointer;
  color: #222;
  font-weight: 700;
}
li.sidebar_cat_title:hover {
  background-color: #222;
}
.sidebar_cat_title i {
  float: left;
  margin-top: 15px;
  color: #222;
}
.sidebar_cat_title i::before {
    content: "\e808";
}
.open_arrow .sidebar_cat_title i::before {
    content: "\e809";
}

/* Counters in sidebar */
#document_sidebar > ul {
    counter-increment: nav-headline;
}
.sidebar_cat_title a::before {
    content: counter(nav-headline);
    float: right;
    margin-right: 15px;
}

.sidebar_doc_title {
    counter-increment: nav-article;
}
.sidebar_doc_title > a::before {
    content: counter(nav-headline) "." counter(nav-article);
    float: right;
    margin-right: 15px;
}

/* ==========================================================================
   Document Page Content
   ========================================================================== */

#document_content {
  width: 70%;
  float: right;
  margin-top: 30px;
}
article.document {
  border: none;
}
article.document .wp-post-image {
  margin-bottom: 30px;
}
.document-section-heading {
  margin-top: 0;
}
.back-top {
   margin: 2em 0 4em;
   text-align: center;
}
.back-top a {
  text-decoration: none;
   color: /*@grayLighter{*/#ccc/*}*/;
}
.back-top .icon-angle-up {
   display: block;
}
.back-top a:hover {
    text-decoration: none;
}

/* Post Counters */
#document_content {
  counter-reset:section;
}
.document-section-heading {
  counter-reset:subsection;
    padding-bottom: 3em;
    padding-top: 2em;
    text-align: center;
}
.document-section-heading:before {
  color: white;
  display: inline-block;
  min-width: 2em;
  min-height: 2em;
  border-radius: 4px;
  line-height: 2em;
  text-align: center;
  margin-right: 0.5em;
  counter-increment:section;
  content: counter(section);
}
.document-post-heading:before {
  counter-increment:subsection;
  content:counter(section) "." counter(subsection) " ";
}
.document-post-heading {
  margin: 0 0 30px;
  padding-bottom: 30px;
  font-weight: 600;
  border-bottom: solid 1px #ddd;
}
.document-post-heading::before {
    color: /*@grayLighter{*/#ccc/*}*/;
    float: left;
    width: auto;
    margin-right:15px;
}

/* Sharing Anchors */
.part-sharing-link {
    float: right;
}
.part-sharing-link i {
    color: /*@grayLighter{*/#ccc/*}*/;
}
.document-section-heading .part-sharing-link i {
    font-size: 1.25em;
    position: relative;
    top: 0.45em;
}
.document .part-sharing-link i {
    font-size: 0.8125em;
}
.part-sharing-link:hover {
    text-decoration: none;
}

.part-sharing-link {
    visibility: hidden;
}

/* Document Voting */
.votes {
  left: 50%;
  margin-left: -59px;
  margin-top: 50px;
  position: relative;
  top: 0;
}
p.likes, p.dislikes {
  width: 48px;
  height: 48px;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  line-height: 14px;
}
p.likes {
  background-color: #94bc1a;
  margin-right: 20px;
}
p.dislikes {
  background-color: #c84848;
}
.likes i, .dislikes i {
  font-size: 14px;
}
.votes .count {
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 300;
  z-index: 1;
}
a.like_btn, a.dislike_btn {
  color: #fff;
  padding: 13px 3px 14px 0;
  text-decoration: none;
  position: relative;
  top: 17px;
}
a.like_btn:hover, a.dislike_btn:hover {
  color: #fff;
  text-decoration: none;
}
.votes > p > i, .votes > p > span {
  position: relative;
  top: 17px;
}

/* ==========================================================================
   Bootstrap Toottip
   ========================================================================== */

.tooltip {
  position: absolute;
  z-index: 1030;
  display: block;
  visibility: visible;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  filter: alpha(opacity=0);
}
.tooltip.in {
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.tooltip.top {
  margin-top: -3px;
  padding: 5px 0;
}
.tooltip-inner {
  max-width: 200px;
  padding: 3px 8px;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  background-color: #000000;
  border-radius: 4px;
}
.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}
.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.top-left .tooltip-arrow {
  bottom: 0;
  left: 5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  right: 5px;
  border-width: 5px 5px 0;
  border-top-color: #000000;
}


/* =============================================================================
   Media Queries
   ========================================================================== */

@media (max-width: 767px) {
  #document_sidebar {
    width: 100%!important;
  }
  #document_content {
    width: 100%!important;
  }
  .video-left .video-content {
    width: 100%!important;
    padding-left: 0;
  }
}

@media (min-width: 768px) {
  #document_sidebar ul {
    margin-right: 25px;
  }
  .document-section-heading:hover > .part-sharing-link,
  #document_content .document:hover .part-sharing-link {
      visibility: visible;
  }
}

/* ==========================================================================
   Font Icons
   ========================================================================== */

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?2196930');
  src: url('../font/fontello.eot?2196930#iefix') format('embedded-opentype'),
       url('../font/fontello.woff?2196930') format('woff'),
       url('../font/fontello.ttf?2196930') format('truetype'),
       url('../font/fontello.svg?2196930#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?2196930#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
     
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-right-dir:before { content: '\e808'; } /* 'î ˆ' */
.icon-down-dir:before { content: '\e809'; } /* 'î ‰' */
.icon-th:before { content: '\e80a'; } /* 'î ٹ' */
.icon-doc-text:before { content: '\e802'; } /* 'î ‚' */
.icon-angle-up:before { content: '\e807'; } /* 'î ‡' */
.icon-quote-right:before { content: '\e804'; } /* 'î „' */
.icon-folder-empty:before { content: '\e805'; } /* 'î …' */
.icon-folder-open-empty:before { content: '\e806'; } /* 'î †' */
.icon-picture:before { content: '\e801'; } /* 'î پ' */
.icon-video:before { content: '\e800'; } /* 'î €' */
.icon-thumbs-up:before { content: '\e80b'; } /* 'î ‹' */
.icon-thumbs-down:before { content: '\e80c'; } /* 'î Œ' */
.icon-link:before { content: '\e803'; } /* 'î ƒ' */

