/*TOC*/

.blog-toc .toc-heading{text-transform: uppercase;font-weight: 700;margin-bottom: 20px;font-size:1.4rem;}
.sub-toc{margin-left: 0;display: flex;flex-wrap: wrap;min-width: 220px;}
.sub-toc li{flex-basis: 100%;margin-bottom: 12px;font-weight:700;line-height:2.3rem;padding-right: 30px;font-size:1.4rem;}
.sub-toc li a,.sub-toc li a:hover,.sub-toc li a:focus{text-decoration: underline;}
.p1p-tocdiv{display: flex;justify-content: space-between;}
.resume-toc{padding-top: 30px;}
.mobtoc-toggle,.close,.toc-input{display: none;}
.mobtoc-toggle ~ a{display: none;}
.blog-toc{
  position: fixed;
  top: 200px;
  width:280px;
  max-width: 280px;
  padding-left:15px;
  display: inline-block;
  padding-right: 40px;
}
.blog-toc .toc-btn{
  background: #545BF8;
  box-shadow: 1px 8px 10px 0px rgba(84, 91, 248, 0.20);
  border-radius: 61px;
  color: #fff;
  display: block;
  font-size:1.6rem;
  margin:30px 0 150px 0;
  padding: 14px 0;
  text-align: center;
  text-decoration: none;
  width: 100%;
}
@media(min-width: 767px){
  .blog-toc .toc-ul{
    overflow-x: hidden;
    overflow-y: auto;
    height: 280px;
  }
}
@media (min-width: 768px) and (max-width: 1024px){
    .sub-toc li{flex-basis:100%;}
    .blog-toc{
    top: 180px;
    height: calc(100vh - 230px);
    overflow-y: auto;
}
}
@media (max-width: 767px){  
.toc-heading,.blog-toc .toc-btn{display: none;}
.mobtoc .p{display: none;}
.mobtoc>ul{margin:0;}
.mobtoc li{list-style: none;}
.mobtoc>ul>li{line-height: 1;}
.mobtoc>ul>li>a{font-size:1.4rem;color:#4a4a4a;font-weight: 600;border: 2px solid #d2d9e2;padding: 15px 20px;text-transform:uppercase;display: block;text-decoration:none;position: relative;}
.mobtoc>ul>li>a:before{position: absolute;content: '';border:#0077d6 solid;border-width:0 2px 2px 0px;transform: rotate(45deg);padding: 2px;top:19px;right:24px;}
.mobtoc>ul>li>a:after{position: absolute;content: '';border:2px #0077d6 solid;border-radius: 50%;width:16px; height:16px;right:19px;}
.mobtoc .sub-toc li a:focus{color: #397ec9;text-decoration: none;}
.mobtoc .tocdiv{opacity:0;height: 37%;font-size:1.4rem;margin-left:0;position: fixed;left:0;bottom:0;z-index:2000;background:#fff;-webkit-overflow-scrolling: touch;}
.mobtoc .sub-toc{overflow-y:scroll;  -webkit-overflow-scrolling: touch;height:100%;margin-left: 0;}
.mobtoc .mobtoc-toggle{position: absolute;width: 100%;height: 47px;opacity: 0;z-index: 10;left:0;right: 0;display: block;}
.mobtoc .mobtoc-input{width: 100%;height: 47px;opacity: 0;z-index: 10;left:0;right: 0;display: block;}
.sub-toc li{text-align: center;flex-basis: 100%;padding-right: 0;margin-bottom: 0;line-height: 1;font-size:1.8rem;}
.sub-toc li a{color: #8b8b8b;display: block;padding: 12px 10px;text-decoration: none;font-weight:normal;line-height:2.6rem;}
.sub-toc li:last-child{margin-bottom: 40px;}
.sub-toc li:hover a{color: #397ec9;}
.sub-toc li a:hover,.sub-toc li a:active,.sub-toc li a:focus{background-color: #f8fbff;}
.tocdiv:after,.tocdiv:before {pointer-events:none;position: absolute;content: "";left: 0;top: 0;width: 100%;height: 49px;z-index: 1;}   
.tocdiv:before {top: 84%;background-image: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);}
.toc-active{background-color: #f8fbff;}
.sub-toc .toc-active a{color: #397ec9;}
.overlay{ position: fixed;bottom: 150px;background: #0a17216e;left: 0;top: 0;z-index: 1000;display: none;width: 100%;transition: all ease-in 0.3s}
.close{left: 0;position: fixed;top: 43px;width: 100%;bottom: 240px;display: none;height: calc(100% - 310px);bottom: 240px;opacity: 0;z-index: 0;}
.label{display: none;position: relative;}
.label:after{position:absolute;content:'Done';text-transform: capitalize;border:0;color: #469af6;font-size:1.3rem;top:15px;right:15px;}
.mobtoc-toggle:checked ~ .overlay .tocdiv{opacity: 1;}
.mobtoc-toggle:checked ~ .overlay .label{font-size:1.2rem;color:#4a4a4a;text-transform:uppercase;display: block;text-decoration:none;position: absolute;padding:15px 20px;box-shadow: 0 1px 3px #cfcfcf, inset 0 0 0 #e1e0e0;background-color: #fafafa;
width:100%;}
.toc-input{position: fixed;bottom: 36%;left: 0;right: 0;z-index: 3000;display: block;}
.mobtoc-toggle:checked ~ .close{ z-index: 1001;display: block; }
.mobtoc-toggle:checked ~ .overlay{ display: block;}
.close:checked ~ .overlay{display: none;}
.close:checked {display: none;}
.blog-toc {
     position: static;
    width: auto;
    max-width: 100%;
    padding-left: 0;
    display: block;
    padding-top: 30px;
    height:auto;
    padding-right: 0;
}
}
.toc-fix{position: absolute;bottom: 0;top: auto;transition: all ease-in 2s;z-index: 100;}
/*TOC*/

/*--COST--2689--*/
.sub-toc li .link.active-link{
  color: #1C2762;
}