/*!
Theme Name: Lipidcarelab
Theme URI: http://underscores.me/
Author: Netizens s.r.l.
Author URI: https://www.netizens.it
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lcl
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Lipidcarelab is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

*/

:root {
	--main-blue: #3266a6;
	--dark-blue: #275592;
	--main-red: #df6655;
	--dark-red: #bd5759;
}


*{
    font-family: atyp-bl-variable, sans-serif;
}

h1, h2, h3, h4 {
	color: var(--main-blue);
	font-variation-settings: 'wght' 600, 'ital' 0, 'opsz' 6;
}

p, button, span, a, input, li, select, label {
	font-size: 18px;
	font-variation-settings: 'wght' 400, 'ital' 0, 'opsz' 6;
}

strong, b {
	font-variation-settings: 'wght' 600, 'ital' 0, 'opsz' 6;
}

.vc_row {
	margin: 0 !important;
}

.vc_section {
	margin: 0 !important;
	padding: 0 !important;
}

.no-wrap {
	word-break: break-all;
    white-space: nowrap;
}

.custom-logo{
	width: 50px;
	height: 50px;
	right: -40px;
	position: relative;
}

body {
	overflow-x: hidden;
}

/* HEADER */

header {
	background-color: transparent;
	position: fixed;
	top:0;
	width: 100%;
	height: 5em;
	z-index: 999;
}

header nav {
	transition: 
		transform .3s ease-out,
		background-color .3s ease-out .3s;
}

/* to update */
body:not(.home) header nav {
	background-color: var(--dark-blue);
}

header.colored nav {
	background-color: var(--dark-blue);
}

header.scrolled nav {
	transform: translateY(-100%);
}

header .main-navigation {
	font-size: 16px;
	padding: 0 1em;
}

header .user-info {
	position: relative;
}

header .user-name {
	margin: 0;
	font-weight: bold;
	color: #fff;
}

header .user-icon {
	width: 3em;
}

header .user-info > summary::-webkit-details-marker{
	display: none;
}

header .user-info > .logout-popup {
	position: absolute;
	top: calc(100% + 1em);
	right: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 1.3em 0;
	background-color: #fff;
	border-radius: 5px;
	transition: height .3s linear;
	box-shadow: 5px 5px 5px 5px #6666;
}

header .user-info > .logout-popup::before {
	content: "";
	position: absolute;
	top: .2em;
	right: 1.5em;
	width: 1em;
	height: .8em;
	transform: translateY(-100%) translateX(50%);
	clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
	background-color: #fff;
	box-shadow: inherit;
}

header .user-info > .logout-popup .logout {
	color: red;
	background-color: white;
	border: 2px solid red;
	border-radius: 5px;
	padding: .5em 1em;
	text-decoration: none;
	cursor: pointer;
	transition: 
		background-color .3s linear,
		color .3s linear;
}

header .user-info > .logout-popup .logout:hover {
	background-color: red;
	color: white;
}

body:has(#wpadminbar) header {
	top: 32px;
}


header .login-btn, header .register-btn {
	font-size: 16px;
	color: var(--main-blue);
	background-color: #fff;
	text-decoration: none;
	padding: .5em 1em;
	border-radius: .5em;
	border: 2px solid var(--main-blue);
	transition: all .2s linear;
}

header .login-btn:hover, header .register-btn:hover {
	background-color: var(--main-blue);
	color: #fff;
}

h1{
    font-variation-settings: "opsz" 6, "ital" 0, "wght" 700;
	font-size:56px;
}
h2, h2 * {
    font-variation-settings: "opsz" 6, "ital" 0, "wght" 600;
	font-size: 36px;
}
h3{
    font-variation-settings: 'wght' 612, 'ital' 0, 'opsz' 6;
}

.home-banner {
	padding-top: 7.5em !important;
	position: relative;
}

.home-banner:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--main-blue);
	height: 10%;
}

.home-banner::before {
	content: '';
	position: absolute;
	background-image: url('/wp-content/uploads/2024/06/banner-line.png');
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: top center;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 50%;
}

.hearth-up {
	z-index: 99;
	position: relative;
	padding-bottom: 2em;
}

.home-banner * {
	color: white;
} 

.wpb_content_element{
	margin-bottom: 1em !important;
}

.infographic-section {
	padding: 5em 0 !important;
	position: relative;
}

.infographic-section::after {
	content: '';
	width: 100%;
	height: 45%;
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #d9eefa;
}

.infographic-section .infographic-icon img,
.article-section .article-icon img {
	width: 80%;
}

.infographic-section .download-btn a,
.article-section .download-btn a {
	width: 12em;
	outline: none;
	background-color: white;
	color: var(--main-blue) !important;
	border: 1px solid var(--main-blue);
	font-size: 22px;
	border-radius: 40px;
	transition: none;
	font-variation-settings: 'wght' 500, 'ital' 0, 'opsz' 6;
}

.infographic-section .download-btn a:hover,
.article-section .download-btn a:hover {
	background-color: white !important;
	border-color: var(--main-blue);
}

.video-section h2,  .video-pill-section h2 {
	color: var(--main-blue);
}
/* VIDEO: TO UPDATE */
.video-section .watch-btn a,
.video-pill-section .watch-btn a {
	max-width: 15em;
	outline: none;
	background-color: white !important;
	color: var(--main-blue) !important;
	border: 1px solid var(--main-blue);
	font-size: 22px;
	border-radius: 40px;
	transition: none;
	font-variation-settings: 'wght' 500, 'ital' 0, 'opsz' 6;
}

/* VIDEO: TO UPDATE */
.video-section .watch-btn a:hover, .video-section .watch-btn a:focus,
.video-pill-section .watch-btn a:hover, .video-pill-section .watch-btn a:focus {
	background-color: white !important;
	border-color: var(--main-blue);
}


.video-pill-section .watch-btn button {
	width: 12em;
	outline: none;
	background-color: white;
	color: var(--dark-blue) !important;
	border: 1px solid var(--dark-blue);
	font-size: 22px;
	border-radius: 40px;
	transition: none;
	font-variation-settings: 'wght' 500, 'ital' 0, 'opsz' 6;
}

.video-pill-section .watch-btn button:hover {
	background-color: white !important;
	border-color: var(--dark-blue);
}

.watch-btn {
	margin-bottom: 0 !important;
}

.disabled {
	pointer-events: none;
	opacity: .5;
}

.video-thumbnail {
	display: flex;
	justify-content: center;
	margin: 0 !important;
}

.video-section, .video-pill-section, .infographic-section, .article-section {
	display: flex;
	justify-content: center;
	padding-top: 5em !important;
	padding-bottom: 5em !important;
}
.section-content {
	width: 90%;
	padding: 3em;
	background-color: white;
}

footer{
	min-height: 33vh;
}

footer > div {
	background-color: var(--main-blue);
	background-image: url('/wp-content/uploads/2024/06/bg-pattern.png');
	background-size: cover;
}

footer p {
	margin-bottom: 0;
}

footer p span {
	font-size: 16px;
	line-height: 1em;
}

footer * {
	color: white;
}

footer .elma-logo {
	width: 120px;
	height: auto;
}

footer .amgen-logo {
	width: 220px;
	height: auto;
}

footer strong {
	font-size: 35px;
}


footer .footer-links p {
	font-size: 14px;
	width: fit-content;
}
footer .footer-links a {
	display: inline;
	color: inherit;
	text-decoration: none;
	width: fit-content;
	position: relative;
	overflow: hidden;
	font-size: 14px;
	transition: color .3s ease-out;
}

.privacypolicycheckboxes ul{
	padding-left:0 !important;
}
.ur-checkbox-label{
	top: 3px;
    position: relative;
}

/* UR LOGIN & REGISTRATION FORM */

body:has(main.ur-form) header {
	display: none;
}

main.ur-form {
	width: 100%;
	min-height: calc(100vh - 20vh);
	display: grid;
	place-items: center;
	padding-top: 5em;
}

main.ur-form .user-registration {
	width: 100%;
	background-color: transparent !important;
	box-shadow: none !important;
}

main.ur-form .ur_lost_reset_password .user-registration-form-row label {
	margin: 0;
}

main.ur-form .user-registration > .login {
	border-radius: 1em;
	padding: 2em .5em;
}

main.ur-form .user-registration .user-registration-login-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--main-blue);
}

main.ur-form .ur-label {
	margin: .2em 0 !important;
}


main.ur-form .user-registration .input-text, 
main.ur-form .user-registration .flatpickr-input, 
.user-registration select {
	border: 1px solid var(--main-blue);
	border-radius: 1em !important;
	width: 20em !important;
	padding: .5em 1em !important;
	margin-bottom: 0 !important;
}

main.ur-form .user-registration > .login .user-registration-form-row {
	margin-bottom: 0 !important;
}

main.ur-form .user-registration > .login .user-registration-form-row .input-text {
	margin-top: .5em;
}


main.ur-form .user-registration > .login .input-text::placeholder {
	color: #999;
}

main.ur-form .user-registration > .login .form-row:has(input[type="hidden"]) {
	margin-bottom: 0;
}

main.ur-form .user-registration > .login .user-registration-form__label-for-checkbox {
	display: flex !important;
	align-items: center;
	font-size: 16px;
}

main.ur-form .user-registration input[type="checkbox"] {
	height: 1.2em;
	aspect-ratio: 1;
	accent-color: var(--main-blue);
}

main.ur-form .user-registration > .login .user-registration-form__label-for-checkbox span {
	line-height: 1em;
}

main.ur-form .user-registration input[type="submit"], main.ur-form .user-registration .confirm-registration {
	border: none;
	border-radius: 1em;
	background-color: var(--main-blue);
	color: white;
	float: none;
	margin-bottom: 1em;
	margin-top: .5em;
}

main.ur-form .user-registration > .login input[type="submit"] {
	width: 100%;
}

main.ur-form .user-registration > .login .lost_password, main.ur-form .user-registration > .login .register {
	margin-bottom: 0;
}

main.ur-form .user-registration > .login a {
	color: var(--main-blue) !important;
	font-size: 14px;
}

main.ur-form .ur_lost_reset_password p {
	width: 20em;
}

.user-registration-error {
	max-width: 22.5em;
	font-size: 16px !important;
}


main.legal-page {
	padding-top: 6em;
}

main.legal-page h3, main.legal-page a {
	color: var(--main-blue);
}

main.legal-page a {
	word-wrap: break-word;
}

main.legal-page h2 {
	text-transform: uppercase;
}

.wpb_wrapper:has(> .coming-soon) {
	display: flex;
	justify-content: center;
}

.coming-soon {
	width: 100%;
	aspect-ratio: 4/3;
	height: auto;
	background-image: url('/wp-content/uploads/2024/07/coming-soon.png');
	background-position: center;
	background-size: auto 80%;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.coming-soon::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 70%;
	background-color: inherit;
}

.coming-soon > p {
	font-size: 40px;
	color: #fff;
	z-index: 999;
	margin-bottom: 0 !important;
	line-height: 1em;

}

.user-registration-password-strength, .user-registration-password-hint, .user-registration-error {
	font-size: 18px !important;
	width: 20em !important;
}

/* to update */
.pdfjs-fullscreen {
	display: none;
}

@media (max-width: 1400px) { 

	.hearth-up img{
		max-width: 100% !important;
	}
 }
 @media (max-width: 1200px) { 
	.hearth-up img{
		max-width: 100% !important;
	}

	footer > div > div {
		width: 100%;
	}
}

@media (max-width: 992px) { 
	main.ur-form .user-registration .input-text, 
	main.ur-form .user-registration .flatpickr-input, 
	.user-registration select {
		width: 17em !important;
	}
	
	.user-registration-password-strength, .user-registration-password-hint, .user-registration-error {
		width: 17em !important;
	}

	h1 {
		font-size: 40px !important;
	}

	.home-banner h2 {
		font-size: 22px !important;
	}
	.hearth-up img{
		max-width: 110% !important;
	}

	h2 {
		font-size: 30px;
	}

	.coming-soon {
		width: 100%;
	}

	.coming-soon > p {
		font-size: 25px;
	}

	.section-content {
		width: 90%;
		padding: 2em 1em;
	}

}

@media (max-width: 768px) { 
	
	

	.ur-frontend-form .ur-form-row .ur-form-grid {
		margin-bottom: 10px !important;
	}

	.home-banner .wpb_text_column {
		width: 80%;
	}

	.home-banner::before {
		height: 40%;
	}
	
	.hearth-up img{
		max-width: 80% !important;
	}

	h1{
		font-size:30px;
		word-wrap: normal;
	}

	h2 {
		font-size: 26px;
	}
	.infographic-section::after {
		height: 72.5%;
	}

	.watch-btn {
		display: flex !important;
	}

	main.ur-form .user-registration .input-text, 
	main.ur-form .user-registration .flatpickr-input, 
	.user-registration select {
		width: 100% !important;
		margin-bottom: 0 !important;
	}
	
	.user-registration-password-strength, .user-registration-password-hint, .user-registration-error {
		width: 100% !important;
	}

	main.ur-form .user-registration .login .input-text {
		width: 80vw !important;
		max-width: 100% !important;
	}
}

@media (max-width: 576px) { 
	
	.hearth-up img{
		max-width: 70% !important;
	}

	.section-content {
		width: 90%;
		padding: 1.5em .5em;
	}
}





