
/****************** Ebook *******************/

.magazine-viewport {
  background-color: #ddd;
  background-image: url(../../../assets/frontend/ebook/sig_logo.png);
  background-repeat: no-repeat;
  background-position: bottom 20px right 20px;
  background-size: 100px;
}
#canvas .magazine-viewport .magazine {
  width: 1080px;
  height: 600px;
  left: -540px;
  top: -300px;
}
.ebook-front-content {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 9;
  top: 0;
  left: 0;
}
#ebook-view .modal-open .modal {
  overflow-x: hidden;
  overflow-y: hidden;
}
.ebook-left .ebook-front-content {
  padding: 20px 20px 20px 30px;
}
.ebook-right .ebook-front-content {
  padding: 20px 30px 20px 20px;
}

.reg-panel a {
  cursor: pointer;
}
.reg-panel p {  
  font-size: 13px;
}
.ebook-left .reg-panel:nth-child(1) {
  position: absolute;
  width: 90%;
  height: 30%;
}
.ebook-left .reg-panel:nth-child(2) {
  position: absolute;
  width: 90%;
  height: 56.66%;
  bottom: 5%;
  left: 5%;
}
.ebook-right .reg-panel:nth-child(1) {
  position: absolute;
  width: 45%;
  height: 33.33%;
}
.ebook-right .reg-panel:nth-child(2) {
  position: absolute;
  width: 55%;
  height: 33.33%;
  top: 0;
  right: 0;
}
.ebook-right .reg-panel:nth-child(3) {
  position: absolute;
  width: 100%;
  height: 33.33%;
  top: 33.33%;
  right: 0;
}
.ebook-right .reg-panel:nth-child(4) {
  position: absolute;
  width: 55%;
  height: 33.34%;
  bottom: 0;
  right: 0;
}
.ebook-right .reg-panel:nth-child(5) {
  position: absolute;
  width: 45%;
  height: 33.34%;
  bottom: 0;
  left: 0;
}
.ebook-right .style-1 .reg-panel:nth-child(1) {
  width: 45%;
  height: 33.33%;
}
.ebook-right .style-1 .reg-panel:nth-child(2) {
  width: 45%;
  height: 30%;
  top: 33.33%;
  left: 0;
}
.ebook-right .style-1 .reg-panel:nth-child(3) {
  width: 55%;
  height: 63.33%;
  top: 0;
  right: 0;
}
.ebook-right .style-1 .reg-panel:nth-child(4) {
  height: 36.67%;
  width: 50%;
  left: 0;
  bottom: 0;
}
.ebook-right .style-1 .reg-panel:nth-child(5) {
  width: 50%;
  height: 36.67%;
  bottom: 0;
  right: 0;
  left: unset;
}
.ebook-right .style-2 .reg-panel:nth-child(1) {
  width: 50%;
  height: 35%;
}
.ebook-right .style-2 .reg-panel:nth-child(2) {
  width: 50%;
  height: 35%;
}
.ebook-right .style-2 .reg-panel:nth-child(3) {
  width: 55%;
  height: 65%;
  top: 35%;
  left: 0;
}
.ebook-right .style-2 .reg-panel:nth-child(4) {
  height: 35%;
  width: 45%;
  top: 35%;
}
.ebook-right .style-2 .reg-panel:nth-child(5) {
  width: 45%;
  height: 30%;
  bottom: 0;
  right: 0;
  left: unset;
}
.ebook-right .style-3 .reg-panel:nth-child(1) {
  width: 45%;
  height: 30%;
}
.ebook-right .style-3 .reg-panel:nth-child(2) {
  width: 45%;
  height: 33.33%;
  top: 30%;
  left: 0;
}
.ebook-right .style-3 .reg-panel:nth-child(3) {
  width: 55%;
  height: 63.33%;
  top: 0;
  right: 0;
}
.ebook-right .style-3 .reg-panel:nth-child(4) {
  height: 36.67%;
  width: 55%;
  left: 0;
  bottom: 0;
}
.ebook-right .style-3 .reg-panel:nth-child(5) {
  width: 45%;
  height: 36.67%;
  bottom: 0;
  right: 0;
  left: unset;
}
.ebook-right .style-3 .reg-panel:nth-child(6) {
  width: 45%;
  height: 30%;
  top: 0;
}
.reg-filter {
  width: 100%;
  height: 100%;
  opacity: 0.8;
  position: absolute;
  top: 0;
  right: 0;
}
#feed-modal .reg-panel {
  display: inline-block;
  max-width: 100%;
  width: auto;
  box-shadow: 0 0 45px var(--main-bg-color);
  border-color: var(--main-bg-color);
  min-width: 300px;
  background: #fff url(../../../assets/frontend/ebook/loading.gif) no-repeat center;
  text-align: center;
}
#feed-modal .reg-panel img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
}
#feed-modal .reg-panel video {
  height: 93%;
  margin: auto;
  display: block;
}
#feed-modal .reg-panel audio {
  height: 130px;
  padding-bottom: 30px;
  background-color: #fff;
}
.reg-count {
  position: absolute;
  bottom: 0px;
  left: 17px;
  margin-bottom: 0;
  color:#000;
}
.reg-count i.icon {
  font-size: 37px;
  text-shadow: 0 0 8px #00000080;
}
.reg-count span {
  color: #ccc;
  font-size: 14px;
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 31px;
  text-align: center;
}
#ebook-view #feed-modal .modal-dialog {
  height: 93%;
  margin: 0 auto;
}
#ebook-view .modal-content {
  height: 100%;
  background-color: transparent;
  display: inline-block;
  top: 50vh;
  margin-top: -200px;
  height: 400px;
}
#ebook-view .modal-body {
  height: 100%;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  height: 400px;
}
#ebook-view .desc-tags {
  width: 100%;
  display: block;
  position: relative;
  bottom: 5px;
  padding: 5px 26px;
  top:  0;
}
#ebook-view .modal-content button.close {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 7px;
  background-color: var(--main-bg-color);
  border-radius: 50%;
  z-index: 99;
  opacity: 1;
  color: #fff;
  width: 35px;
  height: 35px;
}
#ebook-view .modal-content button#btn-next {
  top: 50%;
  right: -15px;
}
#ebook-view .modal-content button#btn-prev {
  top: 50%;
  right: unset;
  left: -15px;
}
.modal-body .reg-panel p {
  font-size: 16px;
  background-color: var(--main-bg-color);
  color: #fff;
  border-color: var(--main-bg-color);
}
.ebook-prj-top {
  height: 100%;
  background-color: var(--main-bg-color);
  color: #fff;
  padding: 0;
  margin: 0;
  position: relative;
}
.ebook-top-content {
  padding: 15px 15px 10px 20px;
  max-width: 50%;
  position: absolute;
  top: 0;
}
.ebook-prj-top-bg {
  height: 100%;
  width: 50%;
  top: 0;
  right: 0;
  position: absolute;
  -webkit-clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}
.ebook-prj-top h1 {
  font-family: 'Riffic-bold';
  font-size: 24px;
  text-shadow: 2px 2px 5px var(--main-bg-color);
}
.ebook-prj-top .ebook-autores {
  font-size: 11px;
  padding-left: 15px;
  opacity: 0.7;
  font-family: droid-sans,sans-serif;
  max-width: 100%;
}
#ebook-view .cover {
  width: 50px;
  height: 50px;
  background-size: 65%;
  margin: auto;
  opacity: 0;
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  border-radius: 50%;
}
#ebook-view .type-audio {
  background-image: url(../../../assets/backend/images/audio.png);
  opacity: 0.9;
}
#ebook-view .type-video {
  background-image: url(../../../assets/backend/images/play.png);
  opacity: 0.9;
}

#ebook-view .type-url {
  color: #fff;
  font-size: 26px;
  padding: 6px 12px;
  opacity: 0.9;
}
#ebook-view .type-url::after {
  content: "\e00e";
  font-family: "dripicons-v2";
}

.scrollbar-ebook::-webkit-scrollbar-track {
  background-color: #9FA2A4;
  border-radius: 2px; }
  
  .scrollbar-ebook::-webkit-scrollbar {
  width: 5px;
  background-color: #9FA2A4; }
  
  .scrollbar-ebook::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background-color: #666; }
  
  .scrollbar-ebook {
  scrollbar-color: #666 #9FA2A4;
  }

/* Capa */
div#ebook-capa {
  background-color: #3A1A44;
  color: #fff;
  text-align: center;
}
#ebook-capa p {
  font-size: 11px;
  opacity: 0.4;
}
div#ebook-lombada {
  position: absolute;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-image: url('../../../assets/frontend/ebook/lombada.png');
  background-repeat: repeat-y;
  background-size: 38px 1px;
  top: 0;
  left: 0;
  opacity: 0.6;
}
div#ebook-sclogo {
  width: 55px;
  height: 55px;
  margin: auto;
  position: absolute;
  z-index: 100;
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 20px;
  left: 60px;
  border-radius: 4px;
}
div#ebook-lmlogo {
  background-image: url('../../../assets/frontend/ebook/m_logo.png');
  width: 45px;
  height: 33px;
  margin: auto;
  position: absolute;
  z-index: 100;
  background-size: contain;
  background-repeat: no-repeat;
  bottom: 20px;
  right: 60px;
}
img.ebook-mmicon {
  max-width: 220px;
  max-height: 220px;
  padding-top: 8%;
  padding-bottom: 2%;
}
#ebook-capa h1 {
  font-family: 'Riffic-bold';
  margin-top: 15%;
  font-size: 30px;
}
#ebook-capa h2 {
    font-size: 20px;
    margin: 30px 20% 0;
    opacity: 0.7;
}
#ebook-capa h3 {
    font-size: 18px;
    opacity: 0.4;
    margin: 10px 20% 0;
}
/* Index */
#canvas .ebook-index {
  background-color: #888;
}
.ebook-bg-index {
  background-image: url('../../../assets/frontend/ebook/index_bg.jpg');
  width: 100%;
  height: 100%;
  background-size: 200%;
  opacity: 0.3;
}
.ebook-right .ebook-bg-index {
  background-position: bottom right;
}
.ebook-left .ebook-bg-index {
  background-position: bottom left;
}
div#ebook-crie {
  background-image: url('../../../assets/frontend/ebook/crie.png');
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
}
div#ebook-index-notes {
  position: absolute;
  z-index: 100;
  bottom: 15px;
  font-size: 10px;
  width: 100%;
  opacity: 0.6;
  text-align: center;
  color: #000;
}
.ebook-index h1 {
  color: #000;
  font-family: 'Riffic-bold';
  font-size: 28px;
  margin-top: 5%;
  margin-bottom: 5%;
  opacity: 0.75;
}
.ebook-idx-box {
  color: #000;
  padding: 5px 0 10px 15px;
  border-left: 1px solid;
  height: 85%;
  overflow-y: auto;
  overflow-x: hidden;
}
.ebook-idx div {
    font-size: 12px;
    opacity: 0.6;
    padding-left: 0px;
}
.ebook-idx.mm-idx {
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ebook-idx-box a {
  cursor: pointer;
}
/* Micromundo */
.ebook-bg-mm {
  width: 100%;
  height: 100%;
  background-size: 200%;
}
.ebook-right .ebook-bg-mm {
  background-position: bottom right;
}
.ebook-left .ebook-bg-mm {
  background-position: bottom left;
}
.ebook-mm.ebook-graphs {
  background-color: #ECE0F1;
}
.ebook-mm.ebook-graphs h2 {
  position: absolute;
  font-family: 'riffic-bold';
  text-transform: initial;
  font-size: 20px;
  margin: 5px 0;
}
.graph-leg-bncc-tab {
  position: absolute;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    max-width: 180px;
    right: 5px;
    top: 15px;
    bottom: 5px;
}
.graph-competencias,.graph-compling,.graph-conhecimentos, 
.graph-tag0, .graph-tag1 {
  background-color: #fff;
  margin: 0 0 10px 0;
  border-radius: 5px;
  padding: 15px 20px;
  position: relative;
}
.graph-competencias{
  margin: 8% 0 0px 0;
  padding-right: 160px;
  height: 49%;
  border-radius: 5px 5px 0 0;
}
.graph-compling {
  margin: 0;
  height: 44%;
  border-radius: 0 0 3px 3px;
  padding-bottom: 0px;
}
.graph-conhecimentos.noling {
  margin: 0px 0 10px 0;
  height: 44%;
  border-radius: 0 0 5px 5px;
}
.graph-conhecimentos.ling {
  margin: 0px 0 0;
  height: 36%;
  border-radius: 5px 5px 0 0;
}
.graph.graph-tag0.noling {
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
  height: 50%;
}
.graph.graph-tag0.ling {
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
  height: 32%;
}
.graph.graph-tag1.noling {
  border-radius: 0 0 5px 5px;
  height: 50%;
}
.graph.graph-tag1.ling {
  border-radius: 0 0 5px 5px;
  height: 32%;
}
.graph.graph-tag0.noling, .graph.graph-tag1.noling {
  padding-top: 30px;
}
.graph.graph-tag0.noling h4, .graph.graph-tag1.noling h4{
  padding-bottom: 30px;
}
.graph.graph-competencias.ling {
  height: 75%;
  border-radius: 5px;
  padding: 30px 160px 0 20px;
  margin-top: 15%;
}
.graph-no-tags .graph-leg-bncc-tab {
  top: 90px;
}
.graph-no-tags #st-lm-competencias {
  margin-top: 63px;
}
.graph.graph-conhecimentos.graph-no-tags {
  height: 75%;
  top: 13%;
  border-radius: 5px;
  padding: 30px 20px 0 20px;
}
.graph-no-tags #st-lm-conhecimentos {
  margin-top: 54px;
}
.ebook-mm h4 {
  text-transform: uppercase;
  font-size: 16px;
  color: var(--main-bg-color);
  margin: 0px 0 10px;
}
.ebook-mm h2 {
  text-transform: uppercase;
  font-size: 18px;
  color: var(--main-bg-color);
  margin: 10px 0 0;
}
.ebook-mm h1 {
  font-family: 'Riffic-bold';
  font-size: 24px;
  color: var(--main-bg-color);
  text-transform: uppercase;
  margin: 5px 0;
}
.ebook-mm-box {
  font-size: 13px;
  margin: 30px 20px;
  padding: 15px;
  background-color: rgba(233, 218, 238, 0.85);
  border-radius: 10px;
  color: #555;
}
.ebook-mm-box h3 {
  font-family: 'Riffic-bold';
  color: var(--main-bg-color);
  font-size: 18px;
  margin: 5px 0 10px;
}
/* Contracapa */
div#ebook-contracapa {
  background-color: var(--main-bg-color);
  color: #fff;
  text-align: center;
}
#ebook-contracapa div#ebook-lombada {
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  transform: scaleX(-1);

  filter: FlipH;
  -ms-filter: "FlipH";
  right: 0;

}
div#ebook-cr {
  position: absolute;
  z-index: 100;
  bottom: 15px;
  font-size: 10px;
  width: 100%;
  opacity: 0.7;
}
/* Projetos */
.reg-page {
  height: 100%;
  background-color: var(--main-bg-color);
}
.ebook-left .reg-page {
  padding: 5%;
}
.ebook-prj-top-img {
  width: 100%;
  height: 100%;
  background-size: cover;
}
.ebook-reg-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3);
}
.ebook-reg-img.ebook-maker-value {
  background-size: contain;
  background-repeat: no-repeat;
  max-height: 75%;
  max-width: 75%;
  margin: 7.5% auto;
}
.reg-panel {
  background-color: #fff;
  display: inline-block;
  margin: 0;
  overflow: hidden;
  /* background-size: cover; */
  position: relative;
}
.reg-filter::after {
  width: 100%;
  height: 100%;
  background-size: 500px;
  content: "";
  position: absolute;
  opacity: 0.1;
  background-position: center;
}
#feed-modal .reg-panel {
  border: solid 5px var(--main-bg-color);
}
.reg-text {
  margin: 0;
  padding: 6px 12px 6px 15px;
  color: #fff;
}
.reg-top-left {
  left:-6px;
  position:absolute;
  top:-2px;
  transform:skew(-15deg);
}
.reg-bottom-right {
  bottom:-2px;
  position:absolute;
  right:-6px;
  transform:skew(-15deg);
}
.reg-speech {
  background-color: #fff;
  border: solid 2px #754E88;
  border-radius: 12px;
  display: inline-block;
  margin: 0;
  padding: 5px 10px;
  position: absolute;
  top: 5px;
  right: 5px;
}
.reg-speech:before {
  border: solid 9px transparent;
  border-left: solid 9px #754E88;
  border-top: solid 9px #754E88;
  bottom: -19px;
  content:"";
  height:0;
  left:24px;
  position:absolute;
  transform:skew(-15deg);
  width:0;
}
.reg-speech:after {
  border: solid 7px transparent;
  border-left: solid 7px #fff;
  border-top: solid 7px #fff;
  bottom: -14px;
  content: "";
  height:0;
  left:27px;
  position:absolute;
  transform:skew(-15deg);
  width:0;
}
.ebook-top-content {
  padding: 15px 15px 10px 30px;
}
.ebook-prj-top .reg-filter {
  background-color: var(--main-bg-color);
  opacity: 0.6;
}
#ebook-view.cover {
  filter: invert(100%);
}
.reg-filter.reg-filter-url ,
.reg-filter.reg-filter-audio {
    background: #00000080;
}

#feed-modal .reg-panel#div_resize {
    height: 400px;
    width: 100%;
    min-width: 350px;
}