/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/


/* Child theme CSS
--------------------------------------------------------------- */
body
{
    font-family: Ogonek;
    font-weight: 400;
}
h1
{
    font-family: Ogonek;
    font-weight: 700;
}
h2
{
    font-family: Ogonek;
    font-weight: 700;
}
h3
{
    font-family: Ogonek;
    font-weight: 700;
}
h4
{
    font-family: Ogonek;
    font-weight: 700;
}


h6
{
    font-family: Ogonek;
    font-weight: 700;
}

/* Serafim page */

.serafim h1
{
    font-family: Ogonek;
    font-weight: 900;
	font-size: 3em;
	letter-spacing: -3px;
	color:#CC3128 !important;
}

.serafim h5
{ 
	font-weight: bold;
}

.serafim .wpb_wrapper h1
{ 
	margin-top: 50px;
}

.serafim .wpb_wrapper h2
{ 
	margin-top: 0em;
}

.nm-menu li a {
	font-weight: 700;
}
.nm-alt-logo { 
    height: 35px !important;  
}
.header-on-scroll .nm-header:not(.static-on-scroll) {
    line-height: 35px;
}
.nm-footer-bar {
	display: none;
}
.nm-footer h4 {
	color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
	font-size: 18px;
    font-weight: 700;
}
.nm-footer:before, .ed-pre-footer:before {
	content: "";
	height: 21px;
    display: block;
    background-size: cover !important;
	position: absolute;
    top: -21px;
    left: -1px;
    right: -1px;
}
.nm-footer:before {
	background: url("https://editurafrontiera.ro/wp-content/uploads/2021/05/footer-divider.svg");
}
.ed-pre-footer:before {
	background: url("https://editurafrontiera.ro/wp-content/uploads/2021/05/pre-footer-divider.svg");
}

/* Meniu */
#nm-menu-search-btn {
	font-size: 20px;
    padding: 12px 32px 16px;
}
#nm-header-search-input {
	font-size: 16px;
	line-height: 1.7;
}
.nm-menu .megamenu > .sub-menu > ul > li > a .nm-menu-item-image-title {
	letter-spacing: -0.5px;
}
.nm-header.centered .nm-menu > li > a {
    padding: 16px 20px;
}
.nm-menu .megamenu > .sub-menu > ul > li > a img {
	max-height: 120px;
}

/* Pre Footer */
.ed-pre-footer {
	background: #efeae7;
    padding: 55px 0 70px;
	position: relative;
}
.ed-pre-footer h3 {
	color: #404041;
}
.ed-pre-footer .col-xs-12 {
	display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.ed-social, .ed-newsletter a {
	display: flex;
    flex-direction: row;
    align-items: center;
}
.ed-newsletter h3 {
	margin: 7px 0 0 30px;
}
.ed-newsletter svg {
	fill: #404041;
}
.ed-newsletter a:hover svg {
	fill: #8E4861;
}
.ed-social a {
	font-size: 48px;
    line-height: 1;
    color: #404041;
    margin-left: 30px;
}
.ed-social a:hover, .ed-newsletter a:hover h3 {
	color: #8e4861;
}
.ed-social a i {
	display: block;
}
@media(max-width: 767px) {
	.ed-pre-footer .col-xs-12 {
		flex-direction: column;
	}
	.ed-pre-footer h3 {
		font-size:20px;
	}
	.ed-newsletter h3 {
		margin-left: 0;
	}
	.ed-newsletter a {
		flex-direction: row-reverse;
		justify-content: space-between;
	}
	.ed-newsletter svg {
		margin-left: 30px;
		max-width: 45px;
	}
	.ed-newsletter {
		margin-bottom: 30px;
	}
	.ed-social a {
    	font-size: 40px;
	}
}

/* Pagina de produs */
.product .summary .product_title {
	font-weight: 700;
	font-size: 30px;
}
.ed-autor {
	font-size: 18px;
    margin-bottom: 0;
}
.ed-varsta {
	font-size: 16px;
	margin-bottom: 15px !important;
}
.product .summary .price .amount, .product .summary .price del .amount {
    font-size: 22px !important;
    font-weight: 700;
}
.product .summary .price del .amount {
    text-decoration: none;
	position: relative;
	margin-right: 20px;
	color: #ADA79B;
}
.product .summary .price del .amount:before {
    position: absolute;
	content: "";
	left: 0;
	top: 24%;
	right: 0;
	border-top: 2px solid;
	border-color: #ADA79B;
	-webkit-transform:rotate(345deg);
	-moz-transform:rotate(345deg);
	-ms-transform:rotate(-45deg);
	-o-transform:rotate(345deg);
	transform:rotate(345deg);
}
.product .summary .price {
	padding: 30px 0 26px;
}
.nm-quantity-wrap {
	border: none;
	margin: 15px 0;
}
.product .summary .button {
	border-radius: 4px;
    background: #8E4861;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 14px 14px;
}
.woocommerce-tabs .tabs li a {
	font-size: 24px !important;
	font-weight: 700;
}
.woocommerce-tabs .tabs {
    padding-top: 58px;
}
.upsells h2, .related h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}
.product.thumbnails-vertical .summary {
    padding-right: 0;
}
#nm-featured-video-link {
	position: relative;
	top: 0;
	right: 0;
	margin-right: 0;
}
.nm-featured-video-label {
    display: inline-block;
    font-size: 18px;
	line-height: 1;
}
.nm-featured-video-icon {
    color: #ffffff !important;
    background: #404041 !important;
    height: 28px;
    line-height: 28px !important;
}
.woocommerce-product-gallery__trigger {
	display: none;
}
.product .summary .stock.out-of-stock {
    margin-bottom: 0;
    background: #ADA79B;
    padding: 8px 14px 5px;
}
.product .summary .stock.in-stock {
	display: none;
}
@media(max-width: 767px) {
	.ed-autor {
		font-size: 16px;
	}
	.woocommerce-tabs .tabs li a, .upsells h2, .related h2 {
    	font-size: 21px !important;
	}
	.nm-single-product-summary-col .woocommerce-product-gallery__wrapper div:first-child img {
    	padding: 20px 20px 0;
	}
}

/* Catalog */
.woocommerce-loop-product__title {
	text-transform: uppercase;
	font-weight: 700;
}
.nm-shop-loop-details .price .amount {
    color: #8E4861 !important;
    font-size: 14px;
    font-weight: 700;
}
.ed-autor-cat {
	margin-bottom: 5px;
	font-size: 14px;
}
.products .price del {
    text-decoration: none;
	position: relative;
	margin-right: 10px;
}
.products .price del:before {
    position: absolute;
	content: "";
	left: 0;
	top: 24%;
	right: 0;
	border-top: 2px solid;
	border-color: #ADA79B;
	-webkit-transform:rotate(345deg);
	-moz-transform:rotate(345deg);
	-ms-transform:rotate(-45deg);
	-o-transform:rotate(345deg);
	transform:rotate(345deg);
}
.products .price del .amount {
	color: #ADA79B !important;
}
.onsale {
    color: #ffffff !important;
    background: #8E4861 !important;
    font-weight: 700;
    padding: 8px 8px 3px;
}
.nm-shop-results-bar a {
	padding: 5px 14px 4px 37px;
}
.widget_product_tag_cloud a {
	padding: 7px 10px 5px 10px;
}
.widget_product_tag_cloud a {
	background-color: #8E4861 !important;
}
.widget_product_tag_cloud a:hover {
	background-color: #404041 !important;
}
@media(max-width: 767px) {
	.has-hover .products li:hover .price {
    	opacity: 1;
	}
	.layout-centered .nm-shop-loop-actions {
		opacity: 1;
    	position: relative;
		margin-top: 13px;
	}
	.nm-shop-loop-actions > a {
		border: 1px solid #cfcfcf;
		text-align: center;
    	padding: 10px 30px 8px;
	}
}
.nm-widget-title {
	font-weight: 700;
}
.nm-product-sorting {
	display: flex;
	flex-direction: column;
}
.nm-product-sorting li:nth-child(1) {
	order: 2
}
.nm-product-sorting li:nth-child(2) {
	order: 1
}
.nm-product-sorting li:nth-child(3) {
	order: 3
}
.nm-product-sorting li:nth-child(4) {
	order: 4
}
.nm-shop-results-bar a, .nm-shop-results-bar a:hover, .nm-shop-results-bar a span {
	color: #8e4861;
}
.nm-shop-results-bar a:hover {
    text-decoration: line-through;
}
@media (max-width: 767px) {
.small-block-grid-2 .flickity-slider > li, .small-block-grid-2 > li {
    width: 100%;
}
}
/* Meniu Mobil */
#nm-mobile-menu-top-ul .nm-mobile-menu-item-search input {
    font-size: 14px !important;
}
#nm-mobile-menu-top-ul .nm-mobile-menu-item-search input::-webkit-input-placeholder {
    overflow: visible !important;
}
#nm-mobile-menu-top-ul .nm-mobile-menu-item-search span {
	top: 4px;
}
@media (max-width: 991px) {
.nm-header-logo img {
    padding-top: 5px;
}
}

/* Pagini */
.nm-page-wrap-inner .nm-row-boxed {
	padding-top: 100px;
	padding-bottom: 100px;
}
@media(min-width: 768px) and (max-width: 1024px) {
	.nm-page-wrap-inner .nm-row-boxed {
		padding-top: 75px;
		padding-bottom: 75px;
	}
}
@media(max-width: 767px) {
	.nm-page-wrap-inner .nm-row-boxed {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	.nm-page-wrap-inner .wpb_text_column p:last-child {
    	margin-bottom: 35px;
	}
	.ed-page-title h1 {
		padding-bottom: 40px !important;
	}
	.ed-banner-colectii::after {
		height: 10px !important;
    	bottom: 15px !important;
	}
}
@media(min-width: 768px) {
	.ed-min-600 {
		min-height: 600px;
	}
}
.ed-banner-colectii {
	position: relative;
}
.ed-banner-colectii::after, .ed-banner-colectii::before {
	background: url(https://editurafrontiera.ro/wp-content/uploads/2021/05/separator-colectii.svg);
    content: "";
    height: 61px;
    display: block !important;
    background-size: cover !important;
    position: absolute;
    top: auto;
    bottom: -8px;
    left: -1px;
    right: -1px;
	z-index: 1;
}
.ed-banner-colectii::after {
	background: url(https://editurafrontiera.ro/wp-content/uploads/2021/05/banner-text.svg);
	background-size: contain !important;
    background-repeat: no-repeat;
    height: 14px;
    bottom: 18px;
    background-position: center center;
}
.ed-dropcap {
	font-size: 30px;
    font-weight: 700;
    padding: 11px 10px 4px;
    background-color: #8E4861;
    color: #fff;
    line-height: 1;
    margin-right: 10px;
    display: inline-block;
    float: left;
}
.ed-separator.nm-row-boxed:after {
	background: url(https://editurafrontiera.ro/wp-content/uploads/2021/05/separator-editura.svg);
    content: "";
    height: 61px;
    display: block;
    background-size: cover !important;
    position: absolute;
    top: auto;
    bottom: -8px;
    left: -1px;
    right: -1px;
}
.ed-membru h4 {
	font-size: 20px;
    font-weight: 700;
    margin: 35px 0 5px;
}
.ed-functie p {
	font-size: 14px;
    font-weight: 700;
    color: #ADA79B;
    margin-bottom: 25px !important;
}
.ed-page-title h1 {
	padding-bottom: 30px;
}

/* Homepage */
/* .nm-banner-text {
	background: rgb(239 234 231 / 95%);
    width: 50% !important;
    padding: 2.5% 5% 2% 10%;
	position: relative;
}
.nm-banner-title {
    font-weight: 700;
}
.nm-banner-subtitle {
    font-size: 21px;
    line-height: 1;
    color: #8E4861;
    font-weight: 700;
}
.nm-banner-text:before {
	background: url(https://editurafrontiera.ro/wp-content/uploads/2021/05/banner-top.svg);
    content: "";
    height: 58px;
    display: block;
    background-size: cover !important;
    position: absolute;
    top: -36px;
    bottom: auto;
    left: -1px;
    right: -1px;
}
@media(max-width: 767px) {
	.nm-banner.image-type-css div.nm-banner-image {
		min-height: 200px !important;
	}
	.nm-banner-text {
		width: 100% !important;
    	padding: 4% 5% 2% 5%;
	}
	.nm-banner-text:before {
		background: url("https://editurafrontiera.ro/wp-content/uploads/2021/05/footer-divider.svg");
		height: 20px;
		left: -50%;
		top: -20px;
	}
	.subtitle-above .nm-banner-subtitle {
		margin-bottom: 5px;
		font-size: 14px;
	}
	.nm-banner-text.medium .nm-banner-title {
		font-size: 16px;
	}
} */
@media (max-width: 640px) {
.nm-banner.alt-mobile-layout .nm-banner-title {
    margin-top: 1em;
	font-weight: 600;
}
}
@media (max-width: 640px) {
.subtitle-below .nm-banner-text.xlarge .nm-banner-subtitle {
    margin-top: 0;
	display: block;
    font-size: 14px;
}
}
@media (max-width: 768px) {
.nm-banner.alt-mobile-layout .nm-banner-link.type-btn {
    line-height: 16px;
    color: #fff;
    padding: 12px 15px 10px;
    background-color: #8e4861;
	margin-top: 5px;
}
}
.nm-banner-link.type-btn {
    line-height: 16px;
    color: #fff;
    padding: 12px 15px 10px;
    background-color: #8e4861;
}
.nm-banner-link.type-btn:hover {
    color: #fff;
	opacity: .8;
}
.nm-banner-subtitle {
    color: #404041;
}

/* Autori */
.single-autori .nm-post-col {
    max-width: inherit;
}
.single-autori .nm-post-body {
    padding-top: 0;
}
.single-autori .nm-page-wrap-inner .nm-row-boxed {
    padding-top: 50px;
    padding-bottom: 50px;
}
.ed-autori-title {
	margin: 0 0 .7em !important;
}
.post-type-archive-autori .nm-post-title {
	font-weight: 700;
    margin: 30px 0 20px;
}
.post-type-archive-autori .nm-post-title:hover {
	color: #8E4861;
}
.post-type-archive-autori .nm-blog-grid .nm-post-content .nm-post-read-more i {
	vertical-align: sub;
}
.post-type-archive-autori .nm-blog-heading {
    padding: 50px 0;
}
.post-type-archive-autori .nm-blog-heading h1 {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
.nm-image-overlay:before, .nm-image-overlay:after {
	display: none;
}
.nm-image-overlay {
	background: rgb(255 255 255 / 40%);
}
.ed-autor-bg {
	width: 100%;
    height: 400px;
}
.post-type-archive-autori #nm-blog-list {
	height: auto !important;
}
.ed-search {
	text-align: center;
    margin-top: 20px;
}
.ed-search .search-submit {
	height: 43px;
    width: 43px;
    border: none;
    border-radius: 2px;
    background: #8e4861;
    color: #fff;
	transition: all .3s ease;
	vertical-align: middle;
	padding: 1px 6px;
	font-size: 16px;
}
.ed-search .search-submit:hover {
	opacity: .82;
	cursor: pointer;
}
.wpb_widgetised_column.ed-search, .wpb_widgetised_column.ed-search form {
	display: flex;
	justify-content: center;
}
.wpb_widgetised_column.ed-search .search-input {
	width: auto;
	min-width: 182px;
	display: block;
}
.wpb_widgetised_column.ed-search .widget {
	margin-bottom: 0;
}
.wpb_widgetised_column.ed-search .search-submit {
	position: relative;
    top: auto;
    margin-left: 5px;
    right: auto;
    bottom: auto;
}

/* Newsletter */
.mc4wp-form {
	max-width: 500px;
	margin: 0 auto;
}
.mc4wp-form-fields {
	display: flex;
    flex-direction: row;
}
.mc4wp-form-fields input[type="email"] {
	width: 100%;
    margin-right: 10px;
}
.mc4wp-form-fields input[type="submit"] {
	background: #8e4861;
}

/* Blog */
.nm-blog-grid .nm-post-title a {
    font-weight: 700;
    line-height: 1.4;
}
.nm-blog-grid .nm-post-title a:hover {
	color: #8e4861;
}
.nm-blog-categories-wrap {
	text-align: center;
}
.blog .nm-blog-categories-wrap {
	padding: 50px 0;
	margin-top: -60px;
}
.nm-blog-categories-wrap, .archive .nm-blog-heading, .search .nm-blog-heading {
	padding: 50px 0;
	text-align: center;
}
.ed-blog-title {
	display: flex;
    flex-direction: row;
    align-items: center;
	justify-content: space-between;
	padding: 0 15px 75px;
	text-align: left !important;
}
.ed-blog-title .nm-post-featured-image {
	max-width: 50% !important;
    margin: 0 !important;
}
.ed-blog-title h1 {
	font-size: 40px;
    font-weight: 600;
}
.ed-blog-title-left {
	max-width: 45%;
}
.ed-blog-title time {
	color: #ada79b;
	font-weight: 600;
}
.ed-blog-title time:before {
	content: "";
    width: 40px;
    height: 1px;
    display: inline-block;
    background: #ada79b;
    vertical-align: middle;
    margin-right: 10px;
}
.ed-blog-excerpt {
	margin-top: 20px;
}
.ed-blog-excerpt p {
	font-size: 16px;
    line-height: 1.6;
}
#nm-blog-pagination .col-xs-12 {
	display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
@media (max-width: 890px) {
	.ed-blog-title {
		padding-top: 70px;
	}
}
@media (max-width: 767px) {
	.ed-blog-title {
		flex-direction: column;
		padding-top: 50px;
	}
	.ed-blog-title-left, .ed-blog-title .nm-post-featured-image {
		max-width: 100% !important;
	}
	.ed-blog-title .nm-post-featured-image {
		padding-top: 20px;
	}
	.nm-single-post-meta-top {
		padding-left: 0;
	}
	.ed-blog-title h1, .nm-post-body blockquote {
		font-size: 24px !important;
	}
}
blockquote {
	font-size: 30px !important;
    font-style: normal;
    font-weight: 600;
    text-align: right;
}

/* Woo Pages */
#order_review .shop_table tbody .product-name .product-quantity {
	display: inline-block;
}

/* Cookie Notice */
.jlplg-lovecoding-cookie-info, .jlplg-lovecoding-buttons .button-text {
    font-size: 14px;
}
.jlplg-lovecoding-cookie-info a {
    text-decoration: underline;
}
.jlplg-lovecoding-cookie-info a:hover {
    color: #fff;
	opacity: .8;
}

/* General Fixes */
#nm-blog-pagination a, .button.border {
    padding-top: 11px;
    padding-bottom: 9px;
    border: 1px solid #aaa;
}
.wc-proceed-to-checkout .button {
    padding: 15px 14px 14px;
}
::-webkit-input-placeholder {
	overflow: visible;
}
input[type="text"], input[type="password"], input[type="number"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="time"], input[type="month"], input[type="week"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], input.input-text, select, textarea {
	padding: 11px 10px 8px;
}
.widget form > button, input[type=submit], .button {
	padding: 12px 15px 10px;
}
.nm-page-overflow {
	overflow: hidden;
    max-width: 100vw;
}
::-moz-selection {
	background: #8e4861;
	color: #fff;
}
::selection {
	background: #8e4861;
	color: #fff;
}
.wpb_wrapper h1, .wpb_wrapper h2, .wpb_wrapper h3, .wpb_wrapper h4, .wpb_wrapper h5, .wpb_wrapper h6 {
	margin-top: 2em;
    margin-bottom: 1em;
}
.nm-blog-wrap .wpb_wrapper h1 {
	margin-top: 0;
}
.wpb_wrapper ul {
	padding-left: 15px;
}
.wpb_wrapper ul li {
	margin-bottom: 15px !important;
}