/*
Theme Name: Formazione Diritto
Author: Nucleo Web
Author URI: https://www.nucleoweb.it
Version: 1.0
*/

:root {
	--body: #0F1F1F;
	--black: #000;
	--white: #fff;
	--theme: #095CA2;
	--theme-2: #FE8100;
	--header: #141519;
	--text: #27282C;
	--border: #49515b4d;
	--bg: #F0F4F5;
	--bg-2: #095CA2;
	--box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.06);
}

/* TYPOGRAPHY */

h3 {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: none;
}

/* VARIE */

#site_overlay {
	position: fixed;
	z-index: 99998;
	background: rgba(0,0,0,.5);
	height: 100vh;
	width: 100vw;
	display: none;
	top: 0;
	left: 0;
}
.mouseCursor  {
	display: none !important;
}
.clear {
	min-height: 1px;
	width: 100%;
	display: block;
	clear: both;
	content: "";
}
.nano-courses-details-section .theme-btn {
	font-size: 20px;
}
.nano-courses-details-section .theme-btn i {
	width: auto;
	height: auto;
	line-height: 1;
}
.price-btn {
	background: var(--theme) !important;
}
.price-btn::before {
	display: none !important;
}
.buy-btn {
	background-color: var(--theme-2) !important;
	padding: 20px 35px !important;
	text-transform: uppercase !important;
	font-size: 20px !important;
}
.buy-btn::before {
	background-color: var(--theme) !important;
}
.buy-btn, .buy-btn * {
	color: #fff !important;
}
.buy-btn i {
	width: auto !important;
	height: auto !important;
	line-height: 1 !important;
}
.buy-btn:hover i {
	background: none !important;
}

/* HEADER */

.header-top-section {
	border-bottom: 0;
	padding: 5px 0;
	background: var(--theme-2);
    color: #fff !important;
    font-weight: 600;
}
.header-top-section * {
    color: #fff !important;
}
.header-top-section .header-top-wrapper .social-icon a {
	border: 1px solid #fff;
}
.header-1 .logo-shape {
	border-left: 150px solid var(--theme);
}
.header-1 .logo-shape img {
    height: 100%;
}
.header-main .header-right {
	gap: 10px;
}

/* HEADER > MENU */

.header-main .main-menu ul li {
	margin-inline-end: 35px;
}
.header-main .main-menu ul li a {
	text-transform: uppercase;
}

/* HEADER > CARRELLO */

#cart_icon, #user_icon {
	position: relative;
	background-color: transparent;
	border: 1px solid rgba(20, 20, 20, 0.2);
	width: 52px;
	height: 52px;
	line-height: 52px;
	text-align: center;
	border-radius: 50%;
}
#cart_icon_num {
	position: absolute;
	top: -5px;
	left: 50%;
	z-index: 10;
	display: block;
	width: 20px;
	height: 20px;
	text-align: center;
	background: var(--theme);
	line-height: 20px;
	font-size: 14px;
	border-radius: 50%;
	font-weight: 700;
	color: #fff;
	transform: translateX(-50%);
}
#user_icon i {
	font-size: 22px;
}

/* CARRELLO > SIDEBAR */

#cart_sidebar {
	position: fixed;
	top: 0;
	height: 100vh;
	background: #fff;
	width: 400px;
	max-width: 80vw;
	display: block;
	z-index: 99999;
	right: 0;
	box-shadow: -5px 5px 25px #aaa;
	padding: 40px 20px;
	transform: translateX(100%);
	opacity: 0;
	transition: all 300ms;
}
#cart_sidebar.active {
	transform: translateX(0);
	opacity: 1;
}
#cart_sidebar.empty .items_total {
	display: none !important;
}
#cart_sidebar.empty a.buy-btn.cta_btn {
	display: none !important;
}
p.empty_cart_message {
	display: none;
}
#cart_sidebar.empty p.empty_cart_message {
	display: block;
	text-align: center;
	border-bottom: 1px dotted #999;
	border-top: 1px dotted #999;
	padding: 5px 0;
	font-size: 16px;
	text-transform: none;
}
#cart_sidebar h6 {
	text-align: center;
	text-transform: uppercase;
	font-size: 22px;
	margin: 10px 0 30px;
	line-height: 1;
}
#cart_sidebar .items_list {
	display: flex;
	flex-direction: column;
}
#cart_sidebar .items_list .item {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px dotted #777;
	padding: 0 0 15px;
	margin-bottom: 15px;
	transition: 
		transform 300ms ease,
		opacity 300ms ease,
		max-height 300ms ease,
		margin 300ms ease,
		padding 300ms ease;
}
#cart_sidebar .items_list .item.removed {
	transform: translateX(100%);
	opacity: 0;
	max-height: 0;
	margin: 0;
	padding: 0;
}
#cart_sidebar .items_list .item .del_wrapper a {
	background: #333;
	width: 18px;
	height: 18px;
	display: block;
	border-radius: 50%;
	color: #fff;
	line-height: 18px;
	text-align: center;
	font-size: 11px;
	font-weight: 900;
}
#cart_sidebar .items_list .item .del_wrapper a:hover {
	background: var(--theme-2);
}
#cart_sidebar .items_list .item img {
	max-width: 100%;
	width: 100px;
	height: auto !important;
	border-radius: 5px;
	display: block;
	margin: 0 10px;
}
#cart_sidebar .items_list .item .info_wrapper {
	flex: 1;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
}
#cart_sidebar .items_list .item .info_wrapper .title {
	color: var(--theme);
	display: block;
	width: 100%;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.1;
}
#cart_sidebar .items_list .item .info_wrapper > div {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: 100%;
	flex-wrap: nowrap;
	margin-top: 5px;
	gap: 5px;
}
#cart_sidebar .items_list .item .info_wrapper > div span {
	flex: 1;
	flex-grow: 1;
	background: #eee;
	padding: 3px 0;
	border-radius: 10px;
	font-weight: 600;
	line-height: 1;
	font-size: 13px;
	text-align: center;
}
#cart_sidebar .items_list .item .info_wrapper > div span.quant::after {
	content: "x";
	display: inline-block;
}
#cart_sidebar .items_list .item .info_wrapper > div span.price {
	background: var(--theme);
	color: #fff;
	flex: 2;
	flex-grow: 2;
}
#cart_sidebar .items_total {
	text-align: center;
	font-weight: 600;
	margin-top: 15px;
}
#cart_sidebar .items_total span {
	background: var(--theme);
	display: inline-block;
	margin-left: 10px;
	color: #fff;
	padding: 8px 20px;
	border-radius: 15px;
	text-align: center;
	line-height: 1;
	font-weight: 600;
}
#cart_sidebar .cta_btn {
	margin-top: 30px;
	width: 100%;
}
#cart_sidebar_close {
	background: #333;
	display: block;
	border-radius: 15px;
	color: #fff;
	line-height: 1;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	width: 120px;
	padding: 8px 20px;
	margin: 60px auto 0;
	text-transform: uppercase;
}
#cart_sidebar_close i {
	display: inline-block;
	margin-right: 5px;
}

/* PAGE TITLE */

.breadcrumb-wrapper .page-heading h1 {
	color: var(--theme);
	font-size: 50px;
	text-transform: uppercase;
}
.breadcrumb-wrapper .page-heading {
	padding: 50px 0;
}
.breadcrumb-wrapper .page-heading .breadcrumb-items {
	display: none;
}

/* HOMEPAGE */

.nano-hero-1 .hero-shape-1,
.nano-hero-1 .hero-shape-2 {
	display: none;
}
.bg-cover {
    background: linear-gradient(to right, #ECF0F1, #B7CEE4) !important;
}

/* LISTING PRODOTTI */

body.archive .prod_header,
body.archive .prod_subtitle {
	display: none !important;
}
.course_item h3 a {
	color: var(--theme);
	font-size: 28px;
	line-height: 1;
	font-weight: 600;
}
.course_item .course_duration {
	font-size: 19px;
	text-align: center;
	color: #fff;
	background-color: var(--theme);
	margin: 10px 0;
	padding: 5px 10px;
	border-radius: 15px;
	font-weight: 500;
}
.nano-courses-box-items .nano-courses-content ul.post-date {
	display: block;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid rgba(108, 112, 111, 0.3);
	padding-bottom: 20px;
}
.nano-courses-box-items .nano-courses-content ul.post-date li {
	width: 50%;
	float: left;
	margin-bottom: 10px;
}
.course_item .price_wrapper {
	font-size: 24px;
	color: var(--theme);
	font-weight: 600;
	margin-bottom: 20px;
	justify-content: center !important;
}
.course_item .price_wrapper .old_price {
	font-size: 24px;
	color: #555;
	margin-right: 20px;
}
.nano-courses-box-items:hover .nano-courses-content .client-info-area {
	display: flex !important;
}
.nano-courses-box-items .nano-courses-content .theme-btn {
	display: block !important;
	margin-top: 10px !important;
}

/* PAGINA PRODOTTO */

.prod_header {
	font-family: "Poppins", sans-serif;
	margin: 20px auto 10px;
	padding: 0 40px;
	color: var(--header);
	font-weight: 600;
	font-size: 24px;
	line-height: 1.4;
	max-width: 80%;
}

.section-padding {
	padding: 60px 0;
}
.prod_ext_desc_wrapper {
	clear: both;
	margin-top: 30px;
}
.prod_ext_desc_wrapper img {
	max-width: 50%;
	float: left;
	max-height: 500px;
	height: auto;
	width: auto;
	margin: 0 20px 20px 0;
}
.prod_ext_desc_wrapper * {
	font-family: "Inter", sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 32px !important;
	margin-bottom: 15px !important;
	color: var(--text) !important;
	text-align: left !important;
}

.nano-courses-details-area .nano-courses-details-wrapper .nano-left-content h3 {
	margin-top: 40px !important;
}

/* PAGINA PRODOTTO - Tabs */

.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav {
	gap: 50px;
	background: var(--theme);
	border: 0;
	padding: 10px 20px;
	margin-bottom: 40px;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link {
	color: #fff;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link.active::before,
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link::before {
	background-color: #fff;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link:hover {
	background: var(--bg);
	border-radius: 15px;
	opacity: .8;
	color: #111;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link.active {
	color: var(--theme) !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	background: #fff !important;
	border-radius: 15px !important;
	font-size: 16px !important;
	opacity: 1 !important;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .nav .nav-item .nav-link.active::after {
	height: 4px;
	bottom: -10px;
	background: var(--theme-2);
}
.tab-content > div:not(#Reviews) *:not(h3, i) {
	font-family: "Inter", sans-serif !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 32px !important;
	color: var(--text) !important;
	text-align: left !important;
}
.tab-content > div p {
	margin-bottom: 15px !important;
}
.tab-content > div:not(#Reviews) b, .tab-content > div:not(#Reviews) strong {
	font-weight: 600 !important;
}
.tab-content > div:not(#Reviews) h3, 
.tab-content > div:not(#Reviews) h3 * {
	font-weight: 600 !important;
	text-transform: uppercase !important;
	color: var(--theme-2) !important;
	margin-top: 0 !important;
	font-size: 24px !important;
}
.tab-content > div h3 br {
	display: none !important;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .courses-reviews-items .courses-reviews-box-items .courses-reviews-box .reviews-box {
	padding: 20px;
}
.nano-courses-details-area .nano-courses-details-wrapper .courses-details-content .courses-reviews-items .courses-reviews-box-items .reviews-ratting-right .reviews-ratting-item:not(:last-child) {
	margin-bottom: 10px;
}
.tab-content > div li {
	position: relative;
	padding-left: 1.5rem;
	border-bottom: 1px dotted #aaa;
	padding: 5px 0 5px 20px;
}
.tab-content > div li::before {
	color: var(--theme-2);
	content: "\f054";
	font-family: "Font Awesome 6 Pro" !important;
	font-weight: 900;
	position: absolute;
	left: 0;
	top: 0.15em;
}

/* PAGINA PRODOTTO - Sidebar */

.nano-courses-details-area .details-list-area {
	position: sticky;
	top: 0;
	margin-top: 0;
}
.only_price {
	display: block;
	text-align: center;
	width: 100%;
}
.old_price {
	font-weight: 400;
	opacity: .8;
	font-size: 16px;
	font-style: italic;
	text-decoration: line-through;
	display: inline-block;
	margin: 0 5px;
	position: relative;
}
.old_price::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 60%;
  height: 1px;
  background: #ddd;
}

.video_wrapper {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	box-shadow: 8px 8px 10px #ccc, -5px -5px 10px #ddd;
	margin: 20px 0;
}
.video_wrapper iframe {
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
}

.nano-courses-details-area .details-list-area .details-list li span {
	font-weight: 600;
}
.nano-courses-details-area .details-list-area .details-list li span i {
	color: var(--theme);
	display: inline-block;
	margin-right: 10px !important;
	font-size: 20px;
	min-width: 25px;
}

.price_info {
	margin: -10px 0 10px;
	font-size: 14px;
	text-align: center;
}

/* LOGIN AREA UTENTE */

#login_wrapper {
	padding: 60px 40px;
	border: 2px solid #eee;
	width: 1200px;
	margin: 100px auto;
	max-width: calc(100% - 40px);
	border-radius: 40px;
	box-shadow: 10px 10px aliceblue;
	text-align: center;
}
#login_wrapper h2 {
	margin-bottom: 40px;
	text-transform: none;
}
.field_wrapper {
	margin: 20px 0;
}
.field_wrapper label {
	display: block;
	width: 100%;
	font-weight: 600;
	color: var(--theme);
}
.field_wrapper label span {
	display: inline-block;
	color: #d90000;
	margin-left: 5px;
}
.field_wrapper input {
	padding: 10px 20px;
	border: 1px solid #ddd;
	width: 600px;
	max-width: 100%;
	display: block;
	margin: 10px auto 0;
	border-radius: 15px;
	text-align: center;
}
.field_wrapper.checkbox {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	margin: 20px 0 0;
}
.field_wrapper.checkbox input, .field_wrapper.checkbox label {
	display: inline-block;
	width: auto;
	max-width: auto;
	cursor: pointer;
}
.field_wrapper.checkbox input {
	margin: 0 5px 0 0;
}
#login_wrapper a.login-btn {
	margin-top: 20px;
	width: 280px;
}
#psw_recovery_link {
	display: block;
	background: #eee;
	width: 240px;
	font-size: 12px;
	border-radius: 15px;
	text-transform: uppercase;
	font-weight: 600;
	margin: 30px auto 0;
	color: #111;
	text-align: center;
}
#psw_recovery_link:hover {
	background: var(--theme);
	color: #fff;
}

/* AREA RISERVATA - Login */

#userarea_wrapper {
	width: 1400px;
	max-width: calc(100% - 40px);
	margin: 100px auto;
}
#userarea_wrapper h2 {
	margin-bottom: 40px;
	text-transform: none;
}
#userarea_wrapper h2.little {
	font-size: 32px;
}

/* AREA RISERVATA - Contenuto */

#reserved_area_wrapper #tabs_wrapper {
	float: left;
	width: 20%;
}
#reserved_area_wrapper #tab_content {
	float: left;
	width: 80%;
	border: 1px solid #eee;
	min-height: 50vh;
	padding: 20px;
}
#reserved_area_wrapper .tab_title {
	background: #eee;
	padding: 10px 20px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	margin-bottom: 8px;
	text-transform: uppercase;
	font-size: 16px;
	display: flex;
	justify-content: start;
	align-items: center;
	cursor: pointer;
	border-left: 5px solid #ddd;
}
#reserved_area_wrapper .tab_title i {
	font-size: 22px;
	display: inline-block;
	margin-right: 10px;
}
#reserved_area_wrapper .tab_title.active {
	background: var(--theme);
	color: #fff;
	font-weight: 600;
	border-left: 5px solid var(--bg-2);
}
#reserved_area_wrapper .tab_title.logout {
	color: #d90000;
}
#reserved_area_wrapper .tab_title:hover {
	font-weight: 600;
}
#reserved_area_wrapper #tab_content .courses_list .course_item {
	width: calc(33.33% - 20px);
	float: left;
	margin: 0 20px 20px 0;
}
#reserved_area_wrapper #tab_content .courses_list .course_item:nth-of-type(3n) {
	margin-right: 0;
}
#reserved_area_wrapper #tab_content .courses_list .course_item .nano-courses-content {
	padding: 20px;
}
#reserved_area_wrapper #tab_content .courses_list .course_item h3 {
	margin: 0;
}
#reserved_area_wrapper #tab_content .courses_list .course_item h3 a {
	color: var(--theme);
	font-size: 22px;
	line-height: 1.1;
	font-weight: 600;
	display: block;
	margin-bottom: 15px;
}
#reserved_area_wrapper #tab_content .courses_list .course_item .course_duration {
	font-size: 17px;
}

#reserved_area_wrapper #tab_content .courses_list .course_item .course_percent {
	position: relative;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: #ccc;
	border-radius: 6px;
	overflow: hidden;
	height: 30px;
}
#reserved_area_wrapper #tab_content .courses_list .course_item .course_percent::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: var(--percent);
	background: linear-gradient(90deg, #4caf50, #2e7d32);
	transition: width 600ms ease;
	z-index: 0;
}
#reserved_area_wrapper #tab_content .courses_list .course_item .course_percent {
	z-index: 1;
}
#reserved_area_wrapper #tab_content .courses_list .course_item .course_percent span {
	position: absolute;
	left: 0;
	top: 50%;
	text-transform: uppercase;
	transform: translateY(-50%);
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 13px;
}

#reserved_area_wrapper #tab_content .courses_list .course_item a.item-buy-btn {
	margin-top: 15px !important;
	padding: 12px 20px !important;
}

#reserved_area_wrapper #tab_content .rapid_actions_wrapper {
	display: flex;
	justify-content: center;
	padding: 5px 20px 25px;
	margin-bottom: 25px;
	background: linear-gradient(#fff, #E6F1FA);
}
#reserved_area_wrapper #tab_content .rapid_actions_wrapper .rapid_action_item {
	line-height: 1.4;
	text-align: center;
}
#reserved_area_wrapper #tab_content .rapid_actions_wrapper .rapid_action_item a {
	display: block;
	margin-top: 10px;
}

#reserved_area_wrapper ul.course_index > li {
	background: #eee;
	padding: 10px 20px;
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	margin-bottom: 8px;
	text-transform: uppercase;
	font-size: 16px;
	display: block;
	cursor: pointer;
	border-left: 5px solid #ddd;
}
#reserved_area_wrapper ul.course_index > li i {
	font-size: 22px;
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
}
#reserved_area_wrapper ul.course_index > li.active {
	background: var(--theme);
	color: #fff;
	font-weight: 600;
	border-left: 5px solid var(--bg-2);
}
#reserved_area_wrapper ul.course_index ul > li.chapter {
	font-weight: 600;
	color: var(--theme);
}
#reserved_area_wrapper ul.course_index ul > li.chapter ul {
	border-top: 1px dotted #777;
}
#reserved_area_wrapper ul.course_index ul > li.chapter ul li {
	color: #111;
	font-weight: 400;
}