@import url("/webfonts/font_styles.css");

/* FONT METRICS */

body {
    font-family: 'Merriweather', Helvetica, sans-serif;
    font-weight: 600;
    font-size: 19px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.article_text_content {
  margin-bottom: 200px;
}
.article_text_content p {
  font-family: 'Merriweather', Helvetica, sans-serif;
  color: #000000;
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 20px;
  margin-top: 20px;
}


.article_heading {
  font-size: 40px !important;
}


.article_text_content a {
  outline: 0;
  color: #2a737e;
  cursor: pointer;
  display: inline-block;
  position: relative;
  font-size: 19px;
}

.article_text_content a:focus, 
.article_text_content a:hover, 
.article_text_content a:active {
  outline: 0;
  color: #43adbb;
  text-decoration: none;
}



.article_text_content a:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #43adbb;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.article_text_content a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}


.article_text_content span {
  font-family: 'Merriweather', Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  font-family: 'Merriweather Black', Helvetica, sans-serif;
  color: #515769;
  line-height: 1.4;
  margin: 30px 0 15px;
}

h1>a, h2>a, h3>a, h4>a, h5>a, h6>a {
  color: #515769;
}

h1>a:hover, h2>a:hover, h3>a:hover, h4>a:hover, h5>a:hover, h6>a:hover {
  color: #999caa;
  text-decoration: none;
}

h1>a:focus, h2>a:focus, h3>a:focus, h4>a:focus, h5>a:focus, h6>a:focus {
  text-decoration: none;
}

strong {
  font-weight: 800;
}

.heading {
  font-size: 18px;
}
/* END */

.article_text_content .table td {
  color: #000000;
  font-size: 15px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
    font-size: 16px;
}


/* LIST STYLING */
ul, ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

em,
ol li, 
ul li,
u,
s {
  font-size: 19px;
  font-weight: 300;
  font-family: 'Merriweather', Helvetica, sans-serif;
  color:  #000000;
  line-height: 1.8;
}


.docen-ui-unordered > li,
.docen-ui-tick-list > li {
    margin: 10px 0px;
    margin-left: 20px;
}

ul.docen-ui-tick-list,
ul.docen-ui-unordered {
    list-style-type: none;
}

ul.docen-ui-unordered > li::before {
    margin-right: 0.3em;
    content: "\25A0";
    color: black;
    font-weight: bold;
    display: inline-block;
    width: 1.2em; 
    margin-left: -1.5em;
    font-size: 1.2rem;
}

ul.docen-ui-tick-list > li::before {
    content: "✔";
    color: black;
    font-weight: bold;
    margin-right: 0.3em;
    display: inline-block;
    width: 1.2em; 
    margin-left: -1.5em;
    font-size: 1.2rem;
}

ol.docen-ui-ordered {
    list-style-type: none;
    counter-reset: item;
}

ol.docen-ui-ordered > li {
    counter-increment: item;
    margin: 10px 0px;
    margin-left: 20px;
}

ol.docen-ui-ordered > li:before {
    margin-right: 0.3em;
    content: counter(item);
    background: black;
    border-radius: 100%;
    color: white;
    width: 1.5rem;
    text-align: center;
    display: inline-block;
    margin-left: -1.5em;
    font-size: 0.8rem;
}


/* Nested lists inside items: restart counter if needed */
ol.docen-ui-ordered li > ol.docen-ui-ordered {
    counter-reset: subitem;
}

/* Nested list item */
ol.docen-ui-ordered li > ol.docen-ui-ordered > li {
    counter-increment: subitem;
    margin: 5px 0px;
}

/* Nested list item number — e.g., lowercase letters */
ol.docen-ui-ordered li > ol.docen-ui-ordered > li:before {
    content: counter(subitem, lower-alpha);
    background: #444;
    border-radius: 100%;
    color: white;
    width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    text-align: center;
    font-size: 0.9em;
    margin-right: 0.3em;
    margin-left: -1.5em;
    display: inline-block;
}


.docen-ui-align-left {text-align: left;}
.docen-ui-align-center {text-align: center;}
.docen-ui-align-right {text-align: right;}
.docen-ui-align-justify {text-align: justify;}


/* Indentation levels: you can expand this if needed */
.docen-ui-indent-0 { margin-left: 0em; }
.docen-ui-indent-1 { margin-left: 2em; }
.docen-ui-indent-2 { margin-left: 4em; }
.docen-ui-indent-3 { margin-left: 6em; }
.docen-ui-indent-4 { margin-left: 8em; }


/* popup */
figure.docen-ui-image {
    text-align: center;
    margin: 0;
    display: block;
}

figure.docen-ui-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.docen-ui-table-wrapper figcaption,
.docen-ui-image figcaption,
.content-media__object figcaption {
    padding: 0.5em;
    background: transparent;
    font-weight: bold;
    flex-shrink: 0;
    color: #555;
    font-size: 1.8em;
    margin-bottom: 5px;
}


/* install video */

figure.content-media__object {
    position:relative;
    width: 75%;
    display: block;
    margin: auto;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.content-media--video {
    width: 100%;
    height: auto;
    background-color: transparent;
}

.video-container {
    width: 100%;
    height: 100%;
    background: transparent;
    background: none;
    padding: 0.5px;
    transition: width .2s ease-in-out, height .2s ease-in-out, transform .38s ease-in-out;
    -webkit-transition: width .2s ease-in-out,  height .2s ease-in-out, -webkit-transform .38s ease-in-out;
}

.video-container.is-sticky {
    position: fixed;
    top: 400px;
    right: 140px;
    max-width: 280px;
    max-height: 158px;
    width: 280px;
    height: 158px;
    z-index: 1000;
}

@media screen and (min-width: 1120px) {
    .video-container.is-sticky {
        transform: translateX(47%);
    }
}
@media screen and (min-width: 100px) {
    .video-container.is-sticky {
        transform: translateX(47%);
    }
}



blockquote.docen-ui-blockquote {
    border-left: 4px solid #aaa;
    padding: 0.5em 1em;
    margin: 1em 0;
    background: #f5f5f5;
    color: #333;
    font-style: italic;
    position: relative;
}

blockquote.docen-ui-blockquote footer {
    display: block;
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #666;
    font-style: normal;
    text-align: right;
}



.docen-ui-editable-table {
    outline: none;
    height: 100%;
    width: 100%;
    border-collapse: collapse;
}


.docen-ui-editable-table td:focus,
.docen-ui-editable-table th:focus  {
    outline: none;
}

.docen-ui-editable-table td.selected,
.docen-ui-editable-table th.selected {
    background-color: #e6f0ff;
    border-color: #4a90e2;
    position: relative;
}

.docen-ui-table-wrapper {
    display: flex;
    position: relative;
    padding: 4px;
    border: 3px solid transparent;
    width: 75%;
    flex-direction: column;
    outline: none;
    margin: 0;
}

.docen-ui-table-wrapper-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-x: scroll;
}

.docen-ui-table-wrapper figcaption {
    padding: 0.5em;
    background: #f5f5f5;
    font-weight: bold;
    flex-shrink: 0;
}


.docen-ui-table-wrapper .resize-handle {
    display: none;
}

.docen-block-width-10 { width: 10% !important ;}
.docen-block-width-20 { width: 20% !important;}
.docen-block-width-30 { width: 30%!important ;}
.docen-block-width-40 { width: 40% !important;}
.docen-block-width-50 { width: 50% !important;}
.docen-block-width-60 { width: 60% !important;}
.docen-block-width-70 { width: 70% !important;}
.docen-block-width-80 { width: 80% !important;}
.docen-block-width-90 { width: 90% !important;}
.docen-block-width-100 { width: 100% !important;}




/* Large phones & small tablets */
@media (max-width: 600px) {
    .docen-block-width-10 ,
    .docen-block-width-20 ,
    .docen-block-width-30 ,
    .docen-block-width-40 ,
    .docen-block-width-50 ,
    .docen-block-width-60,
     .docen-block-width-70 { width: 80% !important;}
}

/* Medium phones (typical mobile widths) */
@media (max-width: 414px) {
    .docen-block-width-10 ,
    .docen-block-width-20 ,
    .docen-block-width-30 ,
    .docen-block-width-40 ,
    .docen-block-width-50 ,
    .docen-block-width-60 ,
    .docen-ui-table-wrapper,
    .content-media__object,
    .docen-ui-image,
    .docen-block-width-70,
    .docen-block-width-80,
    .docen-block-width-80 { width: 100% !important;}
}


/* PROGRESS CONTAINER AND BAR  */

.fixed-item-for-hscroll {
    position: fixed;
    top: -1px;
    width: 100%;
    z-index: 1;
    background-color: #F8F8F8;
    height: 5px;
}
  
.scroll-placeholder {
  width: 100%;
  display: block;
  height:0px;
  background-color: #F8F8F8;
}
  

.progress-container-for-page {
  width: 100%;
  height: 5px;
  background: #ccc;
}
    
.progress-bar-for-page {
    height: 5px;
    background: rgba(82, 122, 79, 0.88);
    width: 0%;
}


@media only screen and (max-width: 575px) {
  .scroll-placeholder {
    height:0px;
  }
  .fixed-item-for-hscroll { 
    height: 5px;
  }

}
  
/* author details */

.author-picture .chip {
    display: inline-block;
    padding: 0 25px;
    height: 50px;
    font-size: 16px;
    line-height: 50px;
    border-radius: 25px;
    background-color: #f1f1f1;
}

.author-picture .chip img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.postdate,
.readtime,
.share,
.author-picture {
  display:inline-block;
  font-size: 14px;
  padding: 10px 10px;
}

  
  
  
  /* SCOCIAL MEDIA SHARE BUTTONS  */

.menu-button {
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
    position: relative;
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 24px;
    line-height: 45px;
    border-radius: 50%;
    background-color: #E91E63;
    color: #FFFFFF;
    /* box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.22); */
    cursor: pointer;
    z-index: 1;
}

.menu-button.hover {
    background: #d81558;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.28), 0 4px 15px 0 rgba(0, 0, 0, 0.25);
}
.menu-button a {
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    transition: 0.4s;
    opacity: 0;
    width: 0px;
    height: 0px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #FFFFFF;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.22);
    cursor: pointer;
}
.menu-button a:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.28), 0 4px 15px 0 rgba(0, 0, 0, 0.25);
}
.menu-button a:nth-child(2) {
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: #55acee;
}
.menu-button a:nth-child(3) {
    -webkit-transition-delay: 0.4s;
    -moz-transition-delay: 0.4s;
    transition-delay: 0.4s;
    position: absolute;
    right: 30px;
    bottom: 30px;
    background: #3B5998;
}
.menu-button a:nth-child(4) {
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    transition-delay: 0.5s;
    position: absolute;
    right: 30px;
    bottom: 30px;
    background:#4875B4;
}

.menu-button a:nth-child(5) {
    -webkit-transition-delay: 0.5s;
    -moz-transition-delay: 0.5s;
    transition-delay: 0.5s;
    position: absolute;
    right: 30px;
    bottom: 30px;
    background:#ff4301;
}

.menu-button a:nth-child(6) {
  -webkit-transition-delay: 0.5s;
  -moz-transition-delay: 0.5s;
  transition-delay: 0.5s;
  position: absolute;
  right: 30px;
  bottom: 30px;
  background:black;
}



.menu-button.hover a {
  opacity: 1;
  width: 40px;
  height: 40px;
}
.menu-button.hover a:nth-child(2) {
  right: -60px;
  bottom: -45px;
}
.menu-button.hover a:nth-child(2):hover {
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  background: #3ea1ec;
}
.menu-button.hover a:nth-child(3) {
  right: -50px;
  bottom: 45px;
}

.menu-button.hover a:nth-child(3):hover {
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  background: #3B5998;
}


.menu-button.hover a:nth-child(4) {
  right: -80px;
  bottom: 5px;
}
.menu-button.hover a:nth-child(4):hover {
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  background:#4875B4;
}

.menu-button.hover a:nth-child(5) {
  right: -10px;
  bottom: -60px;
}


.menu-button.hover a:nth-child(5):hover {
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  background:#ff4301;
}

.menu-button.hover a:nth-child(6) {
  right: 0px;
  bottom: 60px;
}

.menu-button.hover a:nth-child(6):hover {
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
  background: black;
}



/* STYLING PAYWALL */

#paywall-wrapper {
  position: fixed;
  z-index: 100;
  left: 0px;
  top:0px;
  right: 0px;
  bottom: 0px;
  background: none;
  background-color: transparent;
  overflow-y: scroll;
}

/* need to use media query to set size */

.article_text_content.blur-text p:not(:first-of-type) {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; 
}

.article_text_content.fade-out p:first-of-type {
 position: relative;
}

.article_text_content.fade-out p:first-of-type:after {
  content: "";
  height: 50%;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fafafa);
  background: -webkit-linear-gradient(to bottom, rgba(255,255,255,0), #fafafa);
  background: -moz-linear-gradient(to bottom, rgba(255,255,255,0), #fafafa);
  background: -o-linear-gradient(to bottom, rgba(255,255,255,0), #fafafa);
  background: -ms-linear-gradient(to bottom, rgba(255,255,255,0), #fafafa);
}


.article-meta-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: row;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .article-meta-data {
    flex-direction: column;
  }
}

.other-details {
  display: flex;
  align-items: center;
  flex-flow: wrap;
}
