/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/*
@media only screen and (min-width: 1000px)
@media only screen and (max-width: 999px)
@media only screen and (max-width: 768px)
@media only screen and (max-width: 690px)
*/

:root {
	--insta-aspect-ratio: 9/16;
}

div[id^="instagram-gallery-feed"] .instagram-gallery-list[data-feed_layout=gallery] .instagram-gallery-item {
	aspect-ratio: var(--insta-aspect-ratio, 1 / 1);
}

/* OVERRIDES */

#add-to-cart-simple {
	display: inline-block;
}

#add-to-cart-simple p.woocommerce.add_to_cart_inline {
	padding: 0 !important;
}

#add-to-cart-simple .add_to_cart_inline.product.woocommerce a {
	border-radius: 0 !important;
	border: 1px solid;
    padding: 17px;
	font-size: 1.1rem;
}

.product.woocommerce.add_to_cart_inline {
	text-align: left;
    margin-top: 15px;
}


/* TNP email forme */

#newsletter-simple .tnp.tnp-subscription {
	margin: 0;
	color: white;
}

#newsletter-simple .tnp.tnp-subscription form {
	display: flex;
	align-items: flex-end;
}

@media only screen and (max-width: 690px) {
	#newsletter-simple .tnp.tnp-subscription form {
		align-items: flex-start;
    	flex-direction: column;
	}
	#newsletter-simple .tnp.tnp-subscription form,
	#newsletter-simple form input,
	#newsletter-simple form label,
	#newsletter-simple form div {
		width:100%;
	}
}

#newsletter-simple form input {
	height: 40px;
}

#newsletter-simple form label {
	margin-bottom: 5px;
}
#newsletter-simple form input[type=email] {
	min-width: 100%;
}
@media only screen and (min-width: 1000px) {
	#newsletter-simple form input[type=email] {
		min-width: 280px
	}
}

#newsletter-simple .tnp.tnp-subscription input {
	height: 45px;
}

#newsletter-simple .tnp-field.tnp-field-email {
    margin-right: 15px;
}

#newsletter-simple .tnp.tnp-subscription input[type="submit"] {
	padding: 0px 22px !important;
}


/* SUBSKRIPCIJE */
#lecture-subscription-wrapper {
	position: relative;
}

#lecture-subscription-wrapper a.add_to_cart_button {
	text-transform: uppercase;
	border-radius: 3px !important;
	border: 1px solid #555;
    padding: 17px !important;
	background: transparent;
}

#lecture-subscription-wrapper .wc-locked {
	position: absolute;
    bottom: 0;
    left: 50%;
    color: white;
    width: 100%;
    transform: translateX(-50%);
	padding-top: 20px;
	padding-right: 20px;
    padding-bottom: 5px;
	text-align: right;
}

#lecture-subscription-wrapper.locked .mediaWrapper::after {
	content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-box-shadow: inset 0px -50px 63px 40px #000000;
    box-shadow: inset 0px -50px 63px 40px #000000;
}

#lecture-subscription-wrapper .wc-locked-text {
	position: absolute;
    bottom: -48px;
    left: 0;
    color: white;
}

#lecture-subscription-wrapper .custom_icon {
	color:white;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* FOOTER NAV */

.footer-nav-widget ul {
	display: flex;
    justify-content: center;
    margin: 0;
    gap: 8px;
}

.footer-nav-widget ul li {
	list-style: none;
}

.footer-nav-widget ul li a:hover {
	color: #ccc !important;
}

@media only screen and (max-width: 690px) {
	.footer-nav-widget ul li {
		font-size: 0.850rem;
	}
}

/* ISTAKNUTE KNJIGE */

.white-price .price bdi,
.white-price .price ins,
.white-price .price del {
	color: white !important;
}

/* PAYMENT icons and form*/

#payment.woocommerce-checkout-payment .payment_box.payment_method_allsecureexchange {
	padding:0;
}

#allsecure-payment-form > p {
	padding:0 0 15px 0;
}

#payment.woocommerce-checkout-payment .payment_box.payment_method_allsecureexchange,
#payment.woocommerce-checkout-payment .payment_box.payment_method_allsecureexchange > .form-row-wide{
	margin: 0;
}

#payment.woocommerce-checkout-payment .payment_box.payment_method_allsecureexchange {
	padding-top: 15px;
}

.wc_payment_method.payment_method_allsecureexchange label {
	display: inline-flex;
    align-items: center;
	flex-wrap: nowrap;
}

.wc_payment_method.payment_method_allsecureexchange label img {
	width: 50px !important;
}

.wc_payment_method.payment_method_allsecureexchange .form-row.form-row-first,
.wc_payment_method.payment_method_allsecureexchange .form-row.form-row-wide {
	padding:0;
}

#order_review #allsecurepay_cc_number,
#order_review #allsecurepay_cc_cvv {
	height: 31.7709px;
    border-color: rgba(32, 7, 7, 0.8);
    border-width: 1.11111px;
    border-style: solid;
}


/* HURRY TIMER*/
@media only screen and (max-width: 999px){
	div[class^='hurrytimer'] div[class*='digit'],
		div[class^='hurrytimer'] div[class*='sep'] {
		font-size: 80px;
	}
}
@media only screen and (max-width: 768px){
		div[class^='hurrytimer'] div[class*='digit'],
		div[class^='hurrytimer'] div[class*='sep'] {
		font-size: 64px;
	}
}
@media only screen and (max-width: 690px) {
		div[class^='hurrytimer'] div[class*='digit'],
		div[class^='hurrytimer'] div[class*='sep'] {
		font-size: 53px;
	}
}

/* Header change mega-menu*/
@media only screen and (max-width: 999px) {
	#header-outer .sf-menu li ul li.menu-item a {
		font-size: 16px;
	}
}

/* Rsponsive buttons */
@media only screen and (max-width: 768px){
	.responsive-buttons.nectar-button.jumbo.regular:not([class*=see-through]) {
		padding: 20px 10px;
		width: 100%;
		text-align: center;
	}
}

/**** CUSTOM ADD TO CART *****/

div.custom-add-to-cart,
.custom-add-to-cart,
.custom-add-to-cart.nectar-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0.5em 0;
    font-family: inherit;
	flex-direction: column;
	background-color: transparent !important;
}

/* Price */
.custom-add-to-cart .price {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
	display: flex;
    flex-direction: column;
	align-self: end;
	text-align: right;
}

.custom-add-to-cart .price bdi {
    font-size: 20px;
	color: #fff;
}

.custom-add-to-cart .price del,
.custom-add-to-cart .price del bdi {
    opacity: 0.8;
	color: #fff;
	font-size: 16px;
}

.custom-add-to-cart .price ins {
    text-decoration: none;
    color: #ffffff;
	font-size: 20px;
}

/* Button (works for <a> or <button>) */
.custom-add-to-cart a.button,
.custom-add-to-cart button,
.custom-add-to-cart.nectar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    padding: 0.65em 1.2em;
    border-radius: 3px;

    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;

    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;

    transition: background-color 0.2s ease, opacity 0.2s ease;
	text-transform: uppercase;
    border-radius: 3px !important;
    border: 1px solid #555;
    padding: 17px !important;
    background: #00000033;
}

/* Hover */
.custom-add-to-cart a.button:hover,
.custom-add-to-cart button:hover,
.custom-add-to-cart.nectar-button:hover {
	background: #22222233;
    color: #fff;
}

/* Disabled */
.custom-add-to-cart button:disabled,
.custom-add-to-cart a.button.disabled,
.custom-add-to-cart.nectar-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* OOTB loading state */
.custom-add-to-cart .loading {
    opacity: 0.6;
    pointer-events: none;
}

/* OOTB added state */
.custom-add-to-cart .added::after {
    font-family: WooCommerce;
    content: "\e017"; /* checkmark icon */
    margin-left: 6px;
    vertical-align: middle;
}


/* Hide product description in WooCommerce Blocks cart */
.wc-block-cart .wc-block-components-product-metadata__description,
.wc-block-checkout .wc-block-components-product-metadata__description {
  display: none !important;
}

/* PLP FILTER RESULT TEXT */

.woocommerce .full-width-content .woocommerce-result-count {
	margin-right: 5%;
}

/*---------- CONTACT FORM STYLE ----------- */

/* BIT – Contact Form 7 */
.bit-cf7{color:#1F1D1A}
.bit-cf7 p{margin:0 !important;padding:0 !important}
.bit-cf7 br{display:none}
.bit-cf7 .bit-cf7-field{margin:0 0 22px}
.bit-cf7 .bit-cf7-field label{display:block;margin:0 0 8px;padding:0;font-size:12px;font-weight:400;line-height:1.6;letter-spacing:.18em;text-transform:uppercase;color:#1F1D1A}
.bit-cf7 .wpcf7-form-control-wrap{display:block}

.bit-cf7 .bit-cf7-field input.wpcf7-form-control,
.bit-cf7 .bit-cf7-field select.wpcf7-form-control,
.bit-cf7 .bit-cf7-field textarea.wpcf7-form-control{
  display:block;width:100% !important;box-sizing:border-box;margin:0 !important;
  padding:10px 0 !important;border:0 !important;border-bottom:1px solid #1F1D1A !important;
  border-radius:0 !important;background-color:transparent !important;box-shadow:none !important;
  font:inherit;font-size:17px !important;line-height:1.6;color:#1F1D1A !important;outline:none}
.bit-cf7 .bit-cf7-field textarea.wpcf7-form-control{min-height:120px;height:120px;resize:vertical}
.bit-cf7 .bit-cf7-field select.wpcf7-form-control{
  -webkit-appearance:none;appearance:none;padding-right:28px !important;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F1D1A' stroke-width='1.2'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;background-position:right 4px center !important}
.bit-cf7 .bit-cf7-field .wpcf7-form-control:focus{border-bottom-color:#A87C45 !important}

.bit-cf7 .bit-cf7-submit{margin-top:34px;display:flex;align-items:center;gap:12px}
.bit-cf7 .bit-cf7-submit input.wpcf7-submit{
  display:inline-block;width:auto !important;margin:0 !important;padding:16px 30px !important;
  border:1px solid #1F1D1A !important;border-radius:0 !important;box-shadow:none !important;
  background:#1F1D1A !important;color:#F3EEE5 !important;
  font:inherit;font-size:13px !important;font-weight:400 !important;line-height:1.6 !important;
  letter-spacing:.18em !important;text-transform:uppercase;cursor:pointer;transition:background .2s,border-color .2s;opacity:1 !important}
.bit-cf7 .bit-cf7-submit input.wpcf7-submit:hover{background:#A87C45 !important;border-color:#A87C45 !important}
.bit-cf7 .bit-cf7-submit input.wpcf7-submit:disabled{opacity:.6 !important;cursor:wait}

.bit-cf7 .wpcf7-not-valid-tip{margin-top:6px;font-size:13px;color:#9A3B2E}
.bit-cf7 .wpcf7-not-valid{border-bottom-color:#9A3B2E !important}
.wpcf7 form:has(.bit-cf7) .wpcf7-response-output{margin:24px 0 0;padding:14px 18px;border:1px solid #E4DDD1;font-size:14px;color:#1F1D1A}
.wpcf7 form.sent:has(.bit-cf7) .wpcf7-response-output{border-color:#7F8C6B}
.wpcf7 form.invalid:has(.bit-cf7) .wpcf7-response-output,
.wpcf7 form.failed:has(.bit-cf7) .wpcf7-response-output{border-color:#9A3B2E}


