body {
  padding: 15px;
  font-family: 'IBMPlexSans-Regular';
  font-size: 18px;
  line-height: 28px;
}

#framespecial{
  min-height: 96vh!important;
}

#edit-post {
  position: fixed;
  width: 120px;
  text-align: center;
  height: 40px;
  line-height: 40px;
  left: 0;
  right: 0;
  bottom: 15px;
  margin: auto;
  background: black;
  color: white;
  font-weight: bold;
  z-index: 999;
}

#top-bar {
  position: fixed;
  left: 0;
  width: 100vw;
  top: 0;
  height: 15px;
  background: white;
  z-index: 555;
}

#bottom-bar {
  position: fixed;
  left: 0;
  width: 100vw;
  bottom: 0;
  height: 15px;
  background: white;
  z-index: 555;
}

span,
applet,
object,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  width: auto;
  height: auto;
}

strong,
b {
  font-weight: bold;
}

em,
i {
  font-style: italic;
}

#container,
#main-stage {
  float: left;
  width: 100%;
}

#main-stage {
  padding-top: 80px;
}

#main-stage.rd-especial {
  padding-top: 0;
}

#main-stage.rd-especial #header-elleview {
  background: none !important;
}

#main-stage.rd-especial #logo__revista {
  display: none;
}

#main-stage img {
  max-width: 100%;
  width: auto;
  height: auto;
}

#main-stage .post-title {
  font-family: 'ElleGaborStd-DemiBold';
  font-size: 58px;
  line-height: 62px;
  letter-spacing: -0.5px;
  margin: 72px auto;
  max-width: 860px;
}

#main-stage .post-excerpt {
  font-family: 'FreightBigProLight';
  font-size: 28px;
  line-height: 32px;
  margin: 50px auto 20px;
  max-width: 700px;
  text-align: center;
  margin-bottom: 40px;
}

#main-stage .post-author {
  margin: 0 auto 50px;
  padding: 0 0 50px 0;
  max-width: 700px;
  text-align: center;
  width: 100%;
  font-family: 'IBMPlexSans-Medium';
}

#main-stage .post-author span {
  font-size: 20px;
  font-family: 'IBMPlexSans-Bold';
}

#main-stage .instagram-media {
  margin: 30px auto !important;
}

#main-stage blockquote:not(.instagram-media) {
  width: 100%;
  margin: 30px auto;
  padding: 120px 0;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: 0.5px;
  font-family: 'FreightBigProLight';
}

#main-stage blockquote.tiktok-embed {
  padding: 0;
  display: block;
  max-width: 325px !important;
}

#main-stage .content > p {
  max-width: 700px;
  margin: 20px auto 0;
}

#main-stage .content > p.full-width {
  max-width: 100%;
  text-align: center;
}

#main-stage .content > p.full-width img {
  display: inline-block;
  margin-top: 32px;
}

#main-stage .content > p.full-width + .media-data {
  text-align: center;
}

#main-stage .content > p.media-data small {
  display: block;
  font-size: 16px;
}

#main-stage .content > p.media-data small.media-photo-credit {
  color: #000000;
  opacity: 0.6;
}

#main-stage .content > h4,
#main-stage .content > h5,
#main-stage .content > h3 {
  font-family: 'IBMPlexSans-Bold';
  font-style: normal;
  font-size: 25px;
  text-align: left;
  line-height: 28px;
  max-width: 700px;
  margin: 50px auto 0;
}

#main-stage .content > p.drop-caps {
  vertical-align: text-top;
}

#main-stage .content > p.drop-caps::first-letter {
  font-size: 96px;
  float: left;
  margin-top: 0px;
  padding-right: 24px;
  padding-top: 5px;
  font-family: 'ElleGaborStd-DemiBold';
  line-height: 1em;
  padding-left: 0px;
}

#main-stage .content > p:first-of-type:not(.caption)::first-letter,
#main-stage .content p.drop-caps::first-letter {
  font-size: 96px;
  float: left;
  margin-top: 0px;
  padding-right: 24px;
  padding-top: 5px;
  font-family: 'ElleGaborStd-DemiBold';
  line-height: 1em;
  padding-left: 0px;
}

#main-stage .content .bottom-space {
  height: 100px;
  width: 100%;
}

#main-stage .shortcode-media-rebelmouse-image {
  width: 100%;
  text-align: center;
}

#main-stage .rm-embed iframe {
  margin: 20px auto !important;
  display: block;
}

.rm-shortcode iframe {
  margin: 20px auto !important;
}

#main-stage .featured-img {
  text-align: center;
  width: 100%;
}

#main-stage .featured-img img {
  width: 100%;
  height: auto;
}

#main-stage h2 {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

#main-stage .linha-fina {
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

#main-stage .autor {
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

#main-stage .ose-embedpress-responsive {
  display: block !important;
  margin: 40px auto;
}

#main-stage .ose-embedpress-responsive iframe {
  max-width: 550px !important;
}

/***** HEADER *****/

#header-elleview {
  height: 70px;
  position: fixed;
  width: calc(100% - 30px);
  top: 15px;
  left: 15px;
  z-index: 555;
}

#header-elleview #logo__revista {
  margin: 15px 0 0 15px;
}

/***** MENU *****/

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
  top: 8px;
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  right: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 60px;
  right: 45px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: 0.25s;
}
.menu__btn > span::before {
  content: '';
  top: 8px;
}
.menu__btn > span::after {
  content: '';
  top: 16px;
}

.menu__box {
  display: block;
  position: fixed;
  top: 15px;
  right: -100%;
  width: 490px;
  height: calc(100vh);
  margin: 0;
  list-style: none;
  background-color: #f6f6f6;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}

.menu__box ul {
  height: calc(100vh - 185px);
  float: left;
  width: 100%;
  padding: 0 70px;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.menu__box ul::-webkit-scrollbar {
  display: none;
}

.menu__box li {
  width: 100%;
  float: left;
  border-bottom: 1px solid #adb7c9;
  display: flex;
}

.menu__box .menu__item {
  display: inline-block;
  padding: 30px 0;
  color: white;
  font-size: 16px;
  color: black;
  text-decoration: none;
  width: 100%;
  transition-duration: 0.25s;
  font-weight: 700;
}

.menu__box .menu__item .item_text {
  line-height: 22px;
  width: calc(100% - 100px);
  float: left;
}

.menu__box .menu__item .item_text span {
  display: block;
  font-size: 14px;
  color: #676a70;
  font-weight: normal;
  margin-top: 7px;
}

.menu__box li img {
  width: 83px !important;
  height: 83px !important;
  margin: 0 15px 0 0;
  float: left;
}

.menu__box .info-edicao {
  height: 110px;
  line-height: 110px;
  color: black;
  padding-left: 70px;
  text-transform: uppercase;
  font-size: 20px;
}

.menu__box .info-edicao small {
  font-size: 14px;
  display: inline-block;
  margin-left: 10px;
}

.menu__box .topo-menu .faixa-cinza {
  background: black;
  float: left;
  width: 100%;
  line-height: 60px;
  font-family: 'IBMPlexSans-Medium';
}

.menu__box .topo-menu .faixa-cinza .voltar-edicoes {
  display: block;
  float: left;
  margin-left: 70px;
  color: #c4c8cc;
  text-decoration: none;
  font-size: 13px;
}

.menu__box .topo-menu .faixa-cinza .voltar-edicoes i {
  color: #c4c8cc;
  margin-right: 5px;
}

.menu__box .topo-menu .faixa-cinza .meu-perfil {
  display: block;
  float: right;
  margin-right: 70px;
  color: #c4c8cc;
  text-decoration: none;
  font-family: 'IBMPlexSans-Medium';
  font-size: 13px;
}

.menu__box .topo-menu .faixa-cinza .meu-perfil i {
  color: #c4c8cc;
  margin-right: 5px;
}

/****** FOOTER ******/

#nav-links {
  position: fixed;
  bottom: 15px;
  width: calc(100% - 30px);
}

#nav-links .prev {
  width: 50%;
  float: left;
  text-align: left;
  padding: 0 0 15px 10px;
}
#nav-links .next {
  width: 50%;
  float: right;
  text-align: right;
  padding: 0 10px 15px 0;
}

#nav-links .sti_container {
  position: relative;
}

#nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

#nav-links .btn {
  position: relative;
  display: inline-block;
  padding: 10px 17px;
  border: 1px solid red;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  color: #fff;
  background: white;
  border-radius: 25px;
  -webkit-transition: width 0.5s;
  text-decoration: none;
  transition: width 0.5s;
}

#nav-links .btn .btn-text {
  max-width: 0;
  display: inline-block;
  -webkit-transition: color 0.25s 1s, max-width 1s;
  transition: color 0.25s 1s, max-width 1s;
  vertical-align: top;
  white-space: nowrap;
  overflow: hidden;
}

#nav-links .btn:hover .btn-text {
  text-decoration: underline;
}

#nav-links .btn:hover {
  background: black;
}

#nav-links .btn:hover .btn-text {
  max-width: 450px;
  color: white;
}

#nav-links .btn-icon i {
  color: black;
}
#nav-links .btn:hover i {
  color: #ffffff;
}

/****** INDICE *******/

/* ---- grid ---- */

.grid {
  background: #fff;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 32.96%;
}

.grid-item {
  float: left;
  margin-bottom: 10px;
}

.grid-item .link-html {
  display: block;
  height: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
  right: 0;
}

.grid-item img {
  display: block;
  max-width: 100%;
  min-width: 100%;
}

.grid-item .overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.grid-item .overlay .caption {
  color: white;
  text-align: center;
  position: absolute;
  height: 40px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  padding: 0 20px;
  font-family: 'ElleGaborStd-DemiBold';
  font-size: 32px;
}

.grid-item:hover .overlay {
  display: block;
}

/****** MOBILE *******/

@media (max-width: 1279px) {
  body {
    padding: 0;
  }
  #top-bar,
  #bottom-bar {
    display: none;
  }
  #header-elleview {
    width: 100%;
    top: 0;
    left: 0;
  }
  .menu__btn {
    right: 30px;
    top: 25px;
  }
  .menu__box {
    width: 100%;
    height: 100%;
    top: 0;
  }
  .menu__box .info-edicao {
    padding-left: 30px;
  }
  .menu__box ul {
    padding: 0 30px;
  }
  #main-stage .post-excerpt {
    padding: 0 15px;
  }

  .menu__box .topo-menu .faixa-cinza .voltar-edicoes {
    margin-left: 30px;
  }

  .menu__box .topo-menu .faixa-cinza .meu-perfil {
    margin-right: 30px;
  }
  #main-stage .content > h4,
  #main-stage .content > h5,
  #main-stage .content > h3 {
    padding: 0 15px;
  }

  #nav-links .btn:hover .btn-text {
    display: none;
  }

  #main-stage .content > p {
    padding: 0 15px;
  }

  #main-stage .content > p.shortcode-media-rebelmouse-image {
    padding: 0;
  }

  #main-stage iframe {
    max-width: 100%;
  }

  #main-stage.rd-especial .content iframe {
    height: 100vh !important;
    width: 100vw !important;
    top: 0 !important;
    left: 0 !important;
  }

  #nav-links {
    width: 100%;
  }

  #main-stage .post-title {
    font-size: 42px;
    line-height: 42px;
    margin: 32px auto;
    padding: 0 15px;
  }

  .grid-sizer,
  .grid-item {
    width: 48.5%;
  }
}
