/*!
Theme Name: energia_ta
Author: Bogdan Ionescu
Author URI: https://icandy.ro
Description: Tema custom Energia Ta 
Version: 3.5.4
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: energia-ta
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */
:root {
	--color-main: #391daa;
	--bs-link-color: #311992;
	--bs-link-hover-color-rgb: #5237be;
	--subtle-light: #eee;
	--subtle-highlight: rgb(229, 228, 247);
	--disabled: #656565;
	--footer-bg: #eaedfd;
	--footer-border: #d4d9ec;
}

body {
	background: url('assets/images/bg-try.png') repeat;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	background: var(--subtle-light);
}

body::before {
	width: 110%;
	left: -5%;
	height: 55vh;
	top: -5vh;
	transform: rotate(3deg);
	position: fixed;
	background: var(--color-main);
	content: "";
	display: block;
	z-index: -1;
	box-shadow: 0px 2px 2px 0px white;
}

.row {
	--bs-gutter-x: .7rem;
}

.row.shadow {
	border: 1px solid #ddd;
}

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a {
	color: var(--bs-link-color);
}

a:hover {
	color: var(--bs-link-hover-color-rgb);
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Custom */
/* Base style for the input fields */
.btn {
	padding: .7rem 1.2rem;
	border-radius: 1.5rem;
}
.btn-primary, .wp-block-button .wp-block-button__link {
	--bs-btn-bg: var(--color-main);
	--bs-btn-border-color: var(--color-main);
	--bs-btn-hover-bg: var(--bs-link-color);
	--bs-btn-hover-border-color: var(--bs-link-color);
	--bs-btn-focus-shadow-rgb: 49, 132, 253;
	--bs-btn-active-bg: var(--bs-link-color);
	--bs-btn-active-border-color: var(--color-main);
	--bs-btn-active-bg: var(--bs-link-color);
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
	--bs-btn-disabled-bg: var(--color-main);
	--bs-btn-disabled-border-color: var(--color-main);
	border-radius: 20px;
}

.btn-primary:hover {
	color: var(--subtle-light);
}

.btn-sm {
	padding: .3rem .7rem;
	border-radius: 10px;
}

.fixedNavBar {
	padding-top:calc(90px - 1rem);
}

.nav {
	--bs-nav-link-hover-color: #5237be;
}

.navbar-brand img {
	height: 3rem;

}

.navbar .eNavbar {
	--bs-navbar-nav-link-padding-x: 1.5em;
}

.navbar-dark.bg-dark {
	background: var(--color-main) !important;
}

#footer {
	background: var(--footer-bg);
	border-top: 1px solid var(--footer-border);
	margin-top: 3rem;
	padding-top: 3rem;
}

#footer h4 {
	font-weight: 600;
}

footer a {
	display: block;
	color: #444;
}

footer p {
	font-size: .9rem;
}

.footer-menu {
	list-style: none;
	padding: 0;
}

.footer-menu li a {
	padding: .3rem 0;
}

.footer-menu li a:hover {
	color: var(--bs-link-hover-color-rgb);
}

.sub-footer {
	margin-top: .5rem;
	padding-top: 0.5rem;
	border-top: 1px solid var(--footer-border);
	display:block;
	text-align: center;
}
.sub-footer img {
	max-height: 36px;
}

.anpc {
	display: flex;
}

.anpc a {
	padding: .3rem;
	flex-grow: 1;
}

.eNavbar .menu-item {
	margin:0;
}

.eNavbar .menu-item a {
	color: #fff;
	background: var(--bs-link-color);
	padding:1rem;
	border-bottom: 1px solid var(--color-main);
}

.material-input {
	position: relative;
	z-index: 1;
	margin: 20px 0;
}

.select2-container--default .select2-selection--single {
	border: none;
	min-height: 42px;
	border-radius: 0;
}

.material-input input,
.material-input textarea,
.select2-container--default .select2-selection--single {
	font-size: 16px;
	padding: 10px 10px 10px 5px;
	display: block;
	width: 100%;
	border: none;
	border-bottom: 1px solid #757575;
	background: transparent;
	transition: all 0.3s ease;
	position: relative;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 10px;
}

.material-input input:focus,
.material-input textarea:focus {
	outline: none;
	border:none;
	box-shadow:0;
	border-bottom: 2px solid var(--color-main);
	
}

.material-input label {
	color: #999;
	font-size: 16px;
	font-weight: normal;
	position: absolute;
	pointer-events: none;
	left: 5px;
	top: 10px;
	transition: 0.2s ease all;
}

/* active or filled states */
.material-input input:focus~label,
.material-input input:valid~label,
.material-input textarea:focus~label,
.material-input textarea:valid~label,
.select2-container--default~label {
	top: -10px;
	font-size: 12px;
	color: var(--color-main);
}

/*
  .material-input input:after {
	content: '';
	height: 4px;
	width: 10px;
	position: absolute;
	background: #009688;
	transition: all 0.3s ease;
	bottom: 4px;
	left:50%;
  }
  .material-input input:focus::after {
	left:0;
	width: 100%;
  }
 
  */

.arata-parola {
	position: absolute;
	right: .7em;
	top: .7em;
	cursor: pointer;
	z-index: 3;
}

.arata-parola::after {
	font-family: 'WooCommerce';
	speak: never;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	margin-left: .618em;
	content: "\e010";
	text-decoration: none;
}

.content.page, .myAcc {
	width: 100%;
}
.myAcc {
	padding:2rem;
	background:white;
	border-radius: 10px;
}
.accNav {
	list-style: none;
	padding: 0;
}
.accNav > li {
	border-bottom: 1px solid #ddd;
}
.accNav > li > a {
	padding: 10px;
	display: block;
	transition: all 0.3s ease;
	font-weight: bold;
	color:#444;
}
.accNav > li.is-active > a {
	position: relative;
	transform: translateX(5px);	
	padding-left: 15px;
	color:var(--color-main);
}
.accNav > li.is-active > a:before {
	border-top:2px solid var(--color-main);
	border-left:2px solid var(--color-main);
	width:7px;
	height:7px;
	transform: rotate(135deg);
	content:"";
	display:block;
	position:absolute;
	top:calc(11px + .5em);
	left:0;
}
.accNav > li > a:hover {
	transform: translateX(5px);
	color:var(--color-main);
}
.accContent {
	border-left: 1px dotted #aaa;
}
.accountWrapper .woocommerce {
	display: block;
}

.loginRegister {
	-webkit-box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.5);
	box-shadow: 20px 20px 40px 0px rgba(0, 0, 0, 0.5);
	background: white;
	border-radius: 10px;
	margin-top:-5rem;
}

.loginRegister>div {
	padding: 15px;
}

.loginRegister .nav {
	margin: 20px auto;
	justify-content: center;
}

.loginRegister .nav .nav-item {
	padding: 0 15px;
}

.loginRegister .bg {
	background: url('assets/images/login-wp-1.jpg') center center no-repeat;
	background-size: cover;
	border-radius: 10px 0 0 10px;
	position: relative;
	overflow: hidden;
	font-family: "Merriweather";
	font-weight: 900;
	color: white;
	font-size: 26px;
	display: flex;
	align-items: end;
	margin-top:54px;
	padding-top: 40px;
}

.loginRegister .bg::before {

	width: 100%;
	height: 100%;
	background: rgba(97, 50, 42, 0.6);
	display: block;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
}

.youtube {
	aspect-ratio: 16 / 9;
	width: 100% !important;
	height: auto !important;
}

#main.container>.row {
	background: white;
	border-radius: 7px;
	position: relative;
	margin-bottom: 2rem;
	overflow: hidden;
}

#main.container>.row>* {
	position: relative;
	z-index: 3;
}

footer#footer .row {
	margin-bottom: 0;
}

.playerRow, .descriptionRow {
	padding: var(--bs-gutter-x);
}

.playerRow h2 {
	font-weight: 700;
	color: var(--color-main);
	margin: 0 0 2rem;
}

.playlist .row {
	padding: .7rem 0;
	margin: 0;
}

.playlist a h6 {
	font-weight: 600;
	color: #333;
	max-width: 100%;
}

.playlist a .duration {
	color: var(--disabled);
}

.playlist a .row {
	transition: all .3s ease;
}

.playlist a .row:hover {
	background: var(--subtle-highlight);
}

.playlist .duration svg {
	color: var(--color-main);
	width: 16px;
	position: relative;
	top: -1px;
}

.buyPremium {
	cursor: pointer;
}
.thumbNail img {
	width:100%;
}
.buyPremium .thumbNail {
	position: relative;
}

a.buyPremium, a.buyPremium h6 {
	color: #aaa;
}

.buyPremium .thumbNail::after {
	z-index: 2;
	content: "";
	background-color: rgba(0, 0, 0, 0.6);
	background-image: url('assets/images/premium.png');
	background-position: 7px 7px;
	background-repeat: no-repeat;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: calc(var(--bs-gutter-x)*.5);
	right: calc(var(--bs-gutter-x)*.5);
}

.premium {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.premium .premiumTmb {
	flex: 0 0 35%;
	padding-right: 1rem;
	width: 100%;
}

.premium img {
	border-radius: 15px;
}

.premium h5 {
	font-weight: 700;
	color: var(--color-main);
	margin: 1rem 0;
	font-size: 1rem;
}

.price {
	font-size: 1.5rem;
	color: #b60101;
	font-weight: bold;
}

.price-cut {
	text-decoration: line-through;
	color: var(--disabled);
}
.curs-tmb {
	width:40px;
	float: left;
	margin-right: 15px;
}

.curs-tmb > img {
    width: 100%;
}

.sticky {
	position: sticky;
	top: 80px;
}

#billing_country_field {
	display: none;
}

.testimonial {
	padding: 2rem;
	font-size: 0.8rem;
}

#productBuy h4 {
	font-weight: bold;
	margin-bottom: 1rem;
}

#productBuy.show {
	display: flex !important;
	align-items: center;
}

.modal-content {
	overflow: hidden;
}

#productBuy .modal-content::before {
	display: block;
	content: "";
	position: absolute;
	z-index: 0;
	width: 100%;
	height: calc(50% - 1em);
	right: 0;
	bottom: 0;
	background: var(--subtle-light);
	border-left: 1px solid var(--subtle-highlight);
}

#productBuy .modal-content .row {
	z-index: 3;
	position: relative;
}

#productBuy .tmb {
	flex: 0 0 35%;
}

#productBuy img {
	max-width: 100%;
	height: auto;
}

#productBuy .btn-close {
	position: absolute;
	right: -20px;
	top: -20px;
	box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
	border-radius: 50%;
	padding: .5rem .5rem;
	margin: -.5rem -.5rem -.5rem auto;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
	padding: .5em 2em .5em 3.5em;
	margin: 0 0 1em;
	font-size: 0.8rem;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
	z-index: 1040;
}
.woocommerce-checkout #main > .row {
	padding:2rem;
}
.woocommerce-notices-wrapper {
	position: fixed;
	top: 80px;
	right: 15px;
	z-index: 1040;
}

.woocommerce form .form-row {
	margin-bottom: 2rem;
}

.woocommerce-privacy-policy-text {
	font-size: 0.8rem;
}
.noCourse {
	text-align: center;
	padding: 3rem;
	min-height: 50vh;
}
.noCourse img {
	max-width: 50%;
	margin-bottom: 1rem;
}
.pagination {
	display:flex;
	justify-content: center;
}
.page-numbers {
  min-width: 40px;
  height: 40px;
  color: rgba(0,0,0,.85);
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s;
  border:1px solid #ccc;
  padding:0 10px;
  margin:0 7px;
}
a.page-numbers:hover, span.page-numbers {
	background:#ccc;
}
.grecaptcha-badge {
	z-index: -1000;
}
:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
	padding:0;
	padding-bottom: 3px;
}
:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__arrow b {
	top:calc(50% - 10px);
}

@media screen and (min-width: 768px) {
	.row {
		--bs-gutter-x: 1.5rem;
	}

	.premium {
		padding: 15px;
		border-radius: 15px;
		border: 1px solid #eee;
		display: block;
		text-align: center;
	}

	.premium .premiumTmb {
		padding-right: 0;
		width: 100%;
	}

	.navbar-brand img {
		height: 4rem;
	}
	.accountWrapper .woocommerce {
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: calc(100vh - 100px);
	}
	.fixedNavBar {
		padding-top:7rem;
	}
	.eNavbar .menu-item a {
		background:none;
		border:none;
	}
	.sub-footer  {
		display: flex;
		justify-content: space-between;
	}
	.modal-lg {
		--bs-modal-width: 690px;
	}
	.contactData {
		background:var(--subtle-light);
		border:1px solid var(--subtle-highlight);
		border-radius: 5px;
	}
	.loginRegister>div {
		padding: 60px;
	}
	.loginRegister .bg {
		margin-top:0;
		font-size:40px;
	}
	.priceCol {
		text-align:right;
	}
	.price {
		font-size:2rem;
	}
	.playlist a h6 {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.cursModal {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.curs-tmb {
		position: relative;
		width: 100%;
		padding-top: 65.25%;
		overflow: hidden;
		float: none;
		margin:0;
		margin-bottom: 2rem;
	}
	
	.curs-tmb > img {
		position: absolute;
		top: -5px;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	#productBuy .btn-close {
		width:30px;
		height: 30px;
		line-height: 1;
		background:white;
	}
	#productBuy .modal-content::before {
		height:auto;
		top:0;
		width:50%;
	}

}

@media screen and (min-width: 991px) {
	.loginRegister {
		width: 70%;
		min-height: 50vh;
	}

	.loginRegister .forms {
		align-self: center;
	}

	.playerRow .playlist {
		max-height: 330px;
	}

	.playlist .row {
		border-bottom: 1px dashed #aaa;
	}

	.playlist {
		overflow-y: auto;
		border-bottom: 1px solid #aaa;
	}

	.navbar-brand img {
		height: 5rem;
	}

	.anpc {
		display: block;
	}

	.modal-lg {
		--bs-modal-width: 800px;
	}

}

@media screen and (min-width: 1198px) {
	.playerRow .playlist {
		max-height: 400px;
	}
}

@media screen and (min-width: 1399px) {
	.playerRow .playlist {
		max-height: 465px;
	}

	.playerRow::before {
		position: absolute;
		width: calc(33.333333% + 15px);
		content: "";
		background: var(--subtle-light);
		display: block;
		right: 0;
		bottom: 0;
		top: 0;
		z-index: 0;
		border-left: 1px solid #e0e0e0;
	}

	.youtube {
		width: calc(100% - 15px) !important;
	}
}
@media screen and (max-width: 540px) {
	.playlistItem .img-fluid {
		width:100%;
	}

	#productBuy.modal .btn-close svg {
		display: none;
	}
	#productBuy .modal-content {
		z-index:1;
	}
}