
@font-face {
	font-family: 'Roboto-Regular';
	src: url('../fonts/Roboto-Regular.ttf') format("truetype");
}
@font-face {
	font-family: 'Caladea-Regular';
	src: url('../fonts/Caladea-Regular.ttf') format("truetype");
}
@font-face {
	font-family: 'Caladea-Bold';
	src: url('../fonts/Caladea-Bold.ttf') format("truetype");
}



#page.metered-view {
    position: fixed;
    width: 100%;
}
l4-paywall-notifier1 {
    opacity: 0; /* Initially invisible */
    transform: translateY(100%); /* Start off-screen, below the viewport */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; /* Smooth slide-up and fade-in */
    position: fixed;
    bottom: 0; /* Anchored to the bottom */
    width: 100%;
    z-index: 99999;
}

l4-paywall-notifier1.show {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Slide up to visible area */
}
/*l4-paywall-notifier .overlay div.block, l4-paywall-notifier .overlay-gradient div.block {
    will-change: transform;
    display: flex;
    top: 100vh;
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.22) 0px -2px 31px;
    box-sizing: border-box;
    flex-direction: column;
    margin: 0px auto;
    text-align: left;
    width: auto !important;
    z-index: 99999;
    overflow: hidden;
    height: auto;
    opacity: 1;
    transition: 0.5s;
    transform: translateY(25vh);
    overscroll-behavior: unset;
    position: absolute;
    padding: 0px;
    width: 100% !important;
}
l4-paywall-notifier .overlay div.block, l4-paywall-notifier .overlay-gradient div.block{
    background-color: #fff;
    min-height: 25vh;
    transform: translateY(-25vh);
}*/
l4-paywall-notifier .overlay div.block,
l4-paywall-notifier .overlay-gradient div.block {
    position: absolute; /* Keeps the element positioned within its container */
    top: 100vh; /* Initially positioned below the viewport */
    left: 0;
    right: 0;
    opacity: 0; /* Hidden initially */
    transform: translateY(25vh); /* Slight offset for slide-up effect */
    transition: transform 1.5s ease, opacity 1.5s ease; /* Slower, smoother transition */
    will-change: transform, opacity;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f3f3;
    box-shadow: rgba(0, 0, 0, 0.22) 0px -2px 31px;
    box-sizing: border-box;
    flex-direction: column;
    margin: 0 auto;
    text-align: left;
    width: 100% !important;
    z-index: 99999;
    overflow: hidden;
    padding: 0px;
}
body.home l4-paywall-notifier .overlay div.block,
body.home l4-paywall-notifier .overlay-gradient div.block {
   top:auto;
}

/* Slide-up and fade-in effect */
l4-paywall-notifier.show .overlay div.block,
l4-paywall-notifier.show .overlay-gradient div.block {
    opacity: 1; /* Fade in */
    min-height: 25vh;
    transform: translateY(0); /* Slide up into view and stay */
}
/*l4-paywall-notifier  div.block.require-subscription, l4-paywall-notifier  div.datawall-welcome.popup {
    min-height: 25vh;
    transform: translate(0px, -25vh);
}*/
l4-paywall-notifier div.datawall-welcome.popup.corporate, l4-paywall-notifier div.datawall-welcome.popup.corporate-login {
    max-width: 520px;
    padding: 10px;
    border-radius: 0;
    height: 73%;
    min-height: fit-content;
    top:50%;
    transform: translateY(-50%);
    background-color: #f3f3f3;
}
l4-paywall-notifier div.datawall-welcome.popup.corporate-login{
    height: auto;
    padding: 60px 10px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    min-height: max-content;
}
l4-paywall-notifier div.datawall-welcome.popup.corporate-login p{
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    padding: 4px 30px;
    letter-spacing: 0.01em;
    font-weight: normal;
    color: rgba(15, 15, 21, 0.7);
    margin-top: 8px;
}
l4-paywall-notifier div.datawall-welcome.popup.corporate-login p a{
    color: #000;
}
l4-paywall-notifier div.datawall-welcome.popup.corporate-login p a:hover{
    color: blue;
}
l4-paywall-notifier  div  iframe {
    height: auto;
    max-height:1100px;
    overflow: hidden;
    border: none;
    display: inline-block;
    width: 100%;
}
.corporate-login > img, .corporate-block > img {
    max-width: 200px;
}
l4-paywall-notifier div.datawall-welcome.popup.corporate iframe {
    height:calc(100% - 10px);
}
/*l4-paywall-notifier div.require-login iframe {
    width: 767px;
}
l4-paywall-notifier  div.require-subscription iframe, l4-paywall-notifier div.datawall-welcome.popup iframe {
    width: 1480px;
    border: 0;
}*/
l4-paywall-notifier  div.datawall-welcome.popup  iframe {
    height: 620px;
}
l4-paywall-notifier div.not-cls-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}
l4-paywall-notifier  div.datawall-welcome.popup {
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 20vh;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateZ(0);
    width: 1200px;
    height: 650px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 1px 1px 2px 2px rgba(0,0,0,0.2);
}
l4-paywall-notifier  div.datawall-welcome.popup  .sub-ltr-sec {
    text-align: center;
    margin-bottom: 10px;
    text-decoration: underline;
    cursor: pointer;
    position: fixed;
    bottom: 0px;
    width: 100%;
}
l4-paywall-notifier div.block.require-subscription.magazine.block {
    min-height: 25vh;
    transform: translate(0px, -25vh);
}

.overlay {
    content: '';
    width: 100%;
    height: 100%;
    position: fixed;
    background: rgba(0,0,0,.7);
    top: 0;
    left: 0;
}
.require-subscription h1.page-title {
    font-family: 'Caladea-Regular', sans-serif;
    font-size: 28px;
    margin: 2.313rem 0 0;
    text-align: center;
    line-height: 54px;
    padding: 0 1rem;
    text-transform: none;
    font-weight: 400;
    color: #000;
}
.require-subscription .sub-title {
    font-family: 'Roboto-Regular', sans-serif;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    padding: 0 1rem;
    margin: 0 0 0.5rem;
}
.require-login h3 {
    font-family: 'Roboto-Regular', sans-serif;
   /* max-width: 450px;*/
    text-align: center;
    font-size: 18px;
    margin-top: 50px;
    padding: 0 1rem;
    margin-bottom: 0;
}
/*******************************Update card popup style starts here**************************/
.l4-modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
  }
    .article-action-btns {
        display: flex;
        gap: 10px;
        margin: 25px 0;
        position: relative;
    }

    .article-action-btn {
        padding: 6px 12px;
        font-size: 14px;
        border: 1px solid #d1d5db;
        border-radius: 20px;
        background: #fff;
        cursor: pointer;
        transition: background 0.2s;
        color: #000;
        font-weight: normal;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .article-action-btn:hover, .article-action-btn:focus {
        background: #f3f4f6;
        color: #000;
        outline: none;
    }
    #savePost.saved svg {
        color: #000000 !important;
        fill: #000000 !important;
    }
    .summary-container {
        border: 1px solid #d1d5db;
        border-radius: 6px;
        margin-bottom: 20px;
    }
    .summary-container * {
        font-family: 'Roboto-Regular' !important;
    }
    .summary-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 10px 14px;
        font-size: 14px;
        background: #fff;
    }

    .summary-title {
        font-size: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .summary-title > svg {
        width: 24px;
        height: 19px;
        margin-right: 5px;
    }
    .summary-hdr {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .summary-hdr.hide, .article-action-btn.hide {
        display: none;
    }
    .summary-title .by {
        font-size: 12px;
        margin-left: 5px;
    }
    .summary-toggle-btn {
        cursor: pointer;
        text-decoration: underline;
    }
    .summary-content {
        padding: 15px 20px;
        font-size: 15px;
    }

    .summary-content .loader {
    font-size: 15px;
    text-align: center;
    }

    .summary-content ul {
        margin: 0;
    }

    .summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    }

    .summary-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    }

    .summary-list .summary-icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: #000;
    }

    .summary-list li span {
    flex: 1;
    }

    .animate-pulse {
    animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    }
    /* Dropdown popup */
    .dropdown-popup {
        position: absolute;
        top: 35px;
        left: 0;
        width: 300px;
        background: #ffffff;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        padding: 12px;
        box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
        z-index: 10;
    }

    .dropdown-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
    }

    .dropdown-header .lock {
        margin-right: 4px;
    }

    .dropdown-header strong {
        flex: 1;
    }

    .dropdown-header .close-btn {
        border: none;
        background: transparent;
        cursor: pointer;
        color: #545454;
        padding: 0;
    }

    .dropdown-popup p {
        margin: 0 0 15px !important;
        font-size: 16px;
    }

    /* Buttons inside popup */
    .dropdown-actions {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        font-size: 14px;
    }
    .subscribe-btn {
        color: #000000 !important;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .dropdown-actions > a {
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #000;
    }
    .dropdown-actions > a.subs-btn {
        color: #000000 !important;
    }
    .dropdown-actions > a.signin-btn {
        background-color: #000000;
        color: #ffffff !important;
    }
    .dropdown-actions > a:hover {
        opacity: 0.8;
    }
    .subscribe-btn:hover {
        text-decoration: underline;
    }
/*.change-card-modal, .l4-modal {
	display: none;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
  }
  .change-card-modal .modal-content, .l4-modal .modal-content {
	background-color: #fefefe;
	margin: 25vh auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
	max-width: 600px;
  }
  .change-card-modal .modal-content img {
	max-width: 175px;
  }
  .change-card-modal .modal-content h2 {
	margin-bottom: 0;
  }
  .change-card-modal .modal-content p {
	font-size: 16px;
  }
  .change-card-modal .modal-content .modal-body {
	display: flex;
	align-items: center;
  }
  .change-card-modal .modal-content button {
	padding: 10px 15px;
    font-size: 14px;
    letter-spacing: 1px;
	font-weight: 500;
  }
  .change-card-modal .modal-content button:focus, .change-card-modal .modal-content button:active {
	outline: none;
  }
  @media (max-width:599px) {
	.change-card-modal .modal-content .modal-body {
		flex-flow: column-reverse;
	}
  }*/
.category-emagazines .ev-meter-content iframe, .category-emagazine .ev-meter-content iframe{pointer-events: auto!important;}
@media(min-width:600px){
    .summary-title .by{
        margin-top: 3px;
    }
}
@media(max-width:1211px){
    l4-paywall-notifier  div.datawall-welcome.popup{
        width:100%;
        height: 100%;
        top:0
    }
}
@media (max-width:767px) {
    l4-paywall-notifier div.datawall-welcome.popup iframe{
        height: 90vh;
    }
    .require-subscription h1.page-title {
        font-size: 1.15rem;
        margin: 1.5rem 0 0;
        line-height: 1.5rem;
    }
    .require-subscription .sub-title {
        font-size: 0.85rem;
        line-height: 1.5rem;
    }
}
@media (max-width:450px) {
    .summary-box {
        padding-left: 5px;
        padding-right: 5px;
    }
    .summary-title {
        font-size: 12px;
    }
    .summary-title svg {
        width: 16px;
        height: 16px;
    }
    .summary-title .by {
        font-size: 10px;
        margin-left: 2px;
        margin-top: 2px;
    }
    .summary-hdr {
        font-size: 11px;
    }
    .summary-hdr > svg {
        width: 11px;
        height: 10px;
    }
}