@charset 'utf-8';

:root, body {
	font-size: 14px;
}

/*** (=begin) Nav ***/
	#nav {
		position: sticky;
		top: 0;
		z-index: 90;
		background-color: white;
		transition: 350ms;
	}
	#nav.floating {
		border-bottom: 1px solid lightgrey;
		box-shadow: 0 2px 3px #efefef7a;
	}
	.nav-bar ul, .nav-bar ol {
		list-style-type: none;
		padding: 0;
		margin: 0;
	}

	#nav.only-bottom #nav-upper-section {
		top: -50px;
	}
	#nav.only-bottom #nav-categories-section {
		top: 0;
	}
	#nav-upper-section, #nav-categories-section {
		width: 100%;
		height: 50px;
		z-index: 90;
		background-color: white;
	}

	#nav-upper-section {
		display: flex;
		justify-content: space-evenly;
		height: 50px;
		top: 0;
		left: 0;
		background-color: white;
		z-index: 91; /* Should be higher than lower section because of the popups it contains */
	}
	#nav-upper-section > * > * {
		height: 35px;
	}
	#nav-upper-section .logo-container {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 60px;
	}
	@media screen and (min-width: 600px) {
		#nav-upper-section .logo-container {
			width: 80px;
		}
	}
	@media screen and (min-width: 900px) {
		#nav-upper-section .logo-container {
			width: 120px;
		}
	}
	#nav-upper-section .logo-container img {
			height: 30px;
			width: 100%;
			object-fit: contain;
	}
	#nav-upper-section .search-area {
		position: relative;
		width: calc(100% - 140px);
		display: flex;
		align-items: center;
	}
	@media screen and (min-width: 600px) {
		#nav-upper-section .search-area {
			width: calc(100% - 160px);
			max-width: 80%;
		}
	}
	#nav-upper-section .search-area .search-controls-container {
		width: 100%;
		display: flex;
		overflow: visible;
		flex-flow: row wrap;
			justify-content: center;
	}
	#nav-upper-section .search-area .search-controls-container > * {
		height: 35px;
	}
	#nav-upper-section .search-area .search-controls-container > *:focus {
		box-shadow: none;
	}
	#nav-upper-section .search-area .search-controls-container select {
		color: white;
		font-weight: 600;
		display: none;
		order: 3;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-color: var(--theme-color);
		text-transform: capitalize;
		border: none;
		cursor: pointer;
		border-radius: 0;
		}
				#nav-upper-section .search-area .search-controls-container select option {
					background-color: #3635aa; }
	#nav-upper-section .search-area .search-controls-container input {
		width: calc(100% - 20px);
		order: 1;
		border-radius: 0;
	}
	#nav-upper-section .search-area .search-controls-container button {
		background-color: var(--theme-color);
		color: white;
		font-weight: 600;
		display: none;
		width: 40px;
		order: 2;
		border-radius: 0;
	}
	#nav-upper-section .search-area.full-width {
		padding: 10px;
		position: absolute;
		background-color: white;
		width: 100%;
		height: auto;
		left: 0;
		top: 0;
		z-index: 1;
	}
	#nav-upper-section .search-area.full-width .search-controls-container {
		width: 100%;
		height: auto;
		justify-content: flex-start;
	}
	#nav-upper-section .search-area.full-width .search-controls-container select {
		width: auto;
		display: block;
		margin-top: 5px;
	}
	#nav-upper-section .search-area.full-width .search-controls-container input {
		width: calc(100% - 40px);
	}
	#nav-upper-section .search-area.full-width .search-controls-container button {
		display: block;
	}

	#nav-upper-section .search-area .ajax-search-results-container {
		display: none;
		position: absolute;
		width: calc(100% - 20px); /* Padding of 10px on both sides */
		left: 50%;
		top: 100%;
		height: auto;
		max-height: calc(100vh - 160px); /* Height of search-controls-container is 70px + 10px (inner-gap) + 20px (padding) added to the space to be kept around the `.search-area` and the bottom of the screen */
		transform: translateX(-50%) translateY(10px);
		overflow: auto;
		padding: 10px 0;
		border: 1px solid #efefef;
		background-color: white;
		box-shadow: 0px 5px 10px 5px #12121233;
		/* border-radius: 10px; */
		z-index: 1;
	}
	@media screen and (min-width: 600px) {
		#nav-upper-section .search-area .ajax-search-results-container {
			left: 0;
			transform: translateX(150px) translateY(10px);
			width: calc(100% - 190px);
		}
	}
	#nav-upper-section .search-area .ajax-search-results-container .no-results {
				height: 50px;
				display: grid;
				align-items: center;
				justify-content: center; }
				#nav-upper-section .search-area .ajax-search-results-container .search-item-preview {
						padding: 0 10px;
						display: grid;
						grid-template-rows: 25px;
						grid-template-columns: 75px auto;
						grid-template-areas: 'img name' 'img price';
						align-items: center;
						}
						#nav-upper-section .search-area .ajax-search-results-container .search-item-preview:hover {
								background-color: #efefef; }
						#nav-upper-section .search-area .ajax-search-results-container .search-item-preview img {
								grid-area: img;
								height: 50px;
								width: 100%;
								padding: 5px;
								object-fit: contain;
								}
						#nav-upper-section .search-area .ajax-search-results-container .search-item-preview span:first-of-type {
								grid-area: name; }
						#nav-upper-section .search-area .ajax-search-results-container .search-item-preview span:last-of-type {
								grid-area: price; }
								#nav-upper-section .cart-container, #nav-upper-section .menu {
					width: 30px;
					display: flex;
					align-items: center;
					justify-content: center;
					cursor: pointer;
				}

	#nav-upper-section .cart-container button, #nav-upper-section .menu button {
		background-color: transparent;
	}
	#nav-upper-section .cart-container .item-count-contain {
			top: 4px;
			left: 20px;
		height: 20px;
		width: 20px;
	}
	#nav-upper-section .cart-container:hover > button > i, #nav-upper-section .menu:hover > button > i {
		color: var(--theme-color);
	}
	#nav-upper-section .menu {
		width: 30px;
	}
	@media screen and (min-width: 600px) {
		#nav-upper-section {
			padding: 0 20px;
		}
		#nav-upper-section .search-area {
			width: calc(100% - 200px);
			margin: 0 auto;
		}
		#nav-upper-section .search-area .search-controls-container {
			justify-content: center;
		}
		#nav-upper-section .search-area .search-controls-container select {
			display: block;
			order: 1;
			width: 150px;
		}
		#nav-upper-section .search-area .search-controls-container input {
			order: 2;
			width: calc(100% - 190px);
		}
		#nav-upper-section .search-area .search-controls-container button {
			display: block;
			order: 3;
		}
	}
	@media screen and (min-width: 900px) {
		#nav-upper-section {
			padding: 0 40px;
		}
		#nav-upper-section .search-area .search-controls-container input {
			/* max-width: 600px; */
		}
	}

	#nav-categories-section {
		width: 100%;
		display: flex;
		justify-content: center;
			align-items: center;
		overflow-x: auto;
	}

	#nav-categories-section li {
		position: relative;
		display: flex;
		text-align: center;
		height: 100%;
	}
	#nav-categories-section li a {
		color: #777;
		padding: 10px 14px;
	}
	#nav-categories-section li::before {
		content: '';
		position: absolute;
		bottom: 0;
		height: 5px;
		width: 100%;
	}
	#nav-categories-section li:hover::before, #nav-categories-section li.active::before {
		transition: 350ms;
		background-color: var(--theme-color);
	}
	#nav-categories-section li a:hover {
		color: var(--theme-color);
	}
/*** (=end) Nav ***/

/** Dash Widget */
	.dash-widget-icon {
		background-color: var(--accent-color);
		border-radius: 100%;
		color: var(--accent-color-darker);
		display: inline-block;
		float: left;
		font-size: 30px;
		height: 60px;
		line-height: 60px;
		margin-right: 10px;
		text-align: center;
		width: 60px;
	}

	.dash-widget-info {
		text-align: right;
	}
/** (=end) Dash Widget */


/** (=begin) Order Page **/
/** (=end) Order Page **/

/** (=begin) Patches **/
	.dropdown-toggle.no-defaults::after {
		content: '';
		display: none;
	}

	/* Font awesome icons weren't born ready to be dropdown icons */
	.dropdown-toggle i.fa {
		font-weight: bolder;
		display: inline-block;
		padding: 7.5px;
	}

	.dropdown-toggle:hover {
		cursor: pointer;
	}

	.form-control:disabled, .form-control[readonly] {
		background-color: #e9ecef !important;
		opacity: 1 !important;
	}
	select.form-control {
		padding: 10px !important;
		height: auto !important;
	}
/** (=end) Patches **/

/** (=begin) Product Diffs **/
	.product-diff {
		margin-bottom: 10px;
		border: 1px solid lightgrey;
		border-radius: 5px;
	}

	.product-diff .diff-head {
		display:grid;
		justify-content: start;
		grid-template-columns: 70px auto;
		align-items: center;
		border-bottom: 1px solid lightgrey;
		padding: 10px;
		text-transform: capitalize;
	}

	.product-diff .diff-body table {
		width: 100%;
	}

	.product-diff .diff-body span {
		padding: 10px;
		display: block;
	}

	.product-diff .diff-body th {
		text-transform: capitalize;
	}

	.product-diff .diff-body tr:not(:last-child) {
		border-bottom: 1px solid lightgrey;
	}

	.product-diff .diff-body tr > * {
		text-align: left;
		padding: 10px;
	}
/** (=end) Product Diffs **/

/** (=begin) Side Popups **/
	.cx-side-menu {
		visibility: hidden;
		background-color: rgba(0,0,0,0);
		position: fixed;
		width: 100%;
		height: 100%;
		left: 0;
		top: 0;
		z-index: calc(var(--z-index-max) * 10);
		transition-duration: 500ms;
		--height-title: 50px;
	}

	.cx-side-menu.visible {
		visibility: visible;
		background-color: rgba(0,0,0,0.75);
	}

	/* Override theme stylings for links */
	.cx-side-menu a {
		all: unset;
	}

	.cx-side-menu .menu-content {
		position: absolute;
		background-color: white;
		transition-duration: inherit;
	}

	.cx-side-menu .menu-content.left,
	.cx-side-menu .menu-content.right {
		top: 0;
		width: 320px;
		max-width: 100%;
		height: 100vh;
	}

	.cx-side-menu .menu-content.left {
		left: -100%;
	}
	.cx-side-menu.visible .menu-content.left {
		left: 0%;
	}

	.cx-side-menu .menu-content.right {
		right: -100%;
	}
	.cx-side-menu.visible .menu-content.right {
		right: 0%;
	}

	.cx-side-menu .menu-content .menu-header {
		background-color: var(--main-color);
		color: white;
		text-transform: uppercase;
		height: var(--height-title);
		padding: 1.5em 1em;
		font-weight: bold;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.cx-side-menu .menu-content .menu-header .title {
		width: auto;
	}

	.cx-side-menu .menu-content .menu-header .close {
		all: unset; /* Override Bootstrap stylings */
		opacity: 1;
		color: #fff;
	}

	.cx-side-menu .menu-content .menu-header .close::before {
		content: '×';
		font-size: 1.5em;
		font-weight: bolder;
	}

	.cx-side-menu .menu-content .menu-body {
		padding: 1em;
		height: calc(100% - var(--height-title));
		overflow: auto;
	}
/** (=end) Side Popups **/

/** (=begin) Wishlist **/
	#wishlist .wish-item {
		position: relative;
		width: 100%;
		border: 1px solid #dddddd;
		padding: 10px;
		display: grid;
		grid-template-columns: 50px auto;
		grid-gap: 10px;
		margin-bottom: 10px;
	}

	#wishlist .wish-items-container {
		list-style-type: none;
	}

	#wishlist .wish-item .img-container img {
		width: 100%;
		object-fit: contain;
	}

	#wishlist .wish-item .item-details .name {
		color: #444444;
		text-transform: capitalize;
		margin-bottom: 5px;
		font-weight: bold;
	}

	#wishlist .wish-item .item-details .prices {
		/* Feel there's no need to display prices in wishlist */
		/*display: none;*/
	}
	#wishlist .wish-item .item-details .curr-price {
		color: var(--main-color);
		font-weight: bold;
		margin-bottom: 5px;
	}
	#wishlist .wish-item .item-details .old-price {
		color: #999999;
		text-decoration: line-through;
	}
	#wishlist .wish-item .item-details .actions {
		margin-top: 7px;
	}
	#wishlist .wish-item .item-details .actions .action-btn {
		cursor: pointer;
	}
	#wishlist .wish-item .item-details .actions .trash-btn:hover {
		color: tomato;
	}
	#wishlist .wish-item .item-details .actions .added-to-cart {
		color: var(--accent-color);
	}

/** (=end) Wishlist **/

/** (=begin) Quick View */
	.pro-group h2 {
	    font-size: calc(16px + (22 - 16) * ((100vw - 320px) / (1920 - 320)));
	    font-weight: 700;
	    line-height: 1.2em;
	    color: #333333;
	    letter-spacing: 1px;
	    margin-bottom: 5px;
	    text-transform: capitalize;
	}
	.pro-group .revieu-box {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		margin-bottom: 5px;
	}
	.pro-group ul.pro-price {
		font-size: calc(14px + (22 - 14) * ((100vw - 320px) / (1920 - 320)));
		color: #444444;
		margin-bottom: 5px;
		text-transform: uppercase;
		font-weight: 700;
		line-height: 1;
	}
	.pro-group ul.pro-price li {
		display: inline-block;
	}
	.pro-group ul.pro-price li span {
		color: #8a8a8a;
		font-size: 80%;
	}
	.pro-group .revieu-box span {
		display: inline-block;
		margin-left: 10px;
	    text-transform: capitalize;
	    font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
	}
	.pro-group ul.pro-price li:nth-child(n+2) {
		margin-left: 5px;
	}
	.pro-group ul.pro-price li {
		text-transform: uppercase;
		font-size: 0.9em;
		/* color: var(--theme-color); */
	}
	.pro-group {
		border-bottom: 1px solid #ddd;
	    margin-bottom: 10px;
	}
	#quick-view button,
	#quick-view .btn,
	#quick-view .product-title {
		text-transform: capitalize;
	}
/** (=end) Quick View **/

/** (=begin) Btn **/
	.btn-normal {
		color: white;
		background-color: var(--main-color);
	}

	.btn-normal:hover {
		color: white;
		filter: brightness(0.9);
	}
/** (=end) Btn **/

/** (=begin) Checkout Page (Here because Vue keeps deleting the style elements) **/

	body {
		color: #4a4a4a;
	}

	label {
		font-weight:  normal !important;
	}
	.checkout-page .checkout-form input[type="text"], .checkout-page .checkout-form input[type="email"], .checkout-page .checkout-form input[type="password"], .checkout-page .checkout-form input[type="tel"], .checkout-page .checkout-form input[type="number"], .checkout-page .checkout-form input[type="url"] {
		width: 100%;
		padding: 0 22px;
		height: 45px;
		border: 1px solid #dddddd;
	}
	.theme-form {
		padding: 30px;
		background-color: #f1f4f7;
		border: 30px solid #ffffff;
	}
    @media screen and (max-width: 599px) {
        .theme-form {
            border-width: 25px;
            padding: .5rem !important;
        }
    }

	.checkout-details thead {
		font-size: 1.8em;
	}

	.checkout-details tbody td:first-child {
		border-right: 1px solid gainsboro;
	}

	.checkout-details tbody td:last-child,
	.checkout-details tfoot td:last-child {
		font-family: monospace;
		text-align: right;
		color: #000;
	}

	.checkout-details tfoot td:last-child {
		font-weight: 600;
	}
/** (=end) Checkout Page **/

/** (=begin) Fancy Img **/
    .fancy-img-container {
		width: 50px;
		height: 50px;
        position: relative;
    }

	.fancy-img-container img {
		--size: calc(100% - 10px);
		position: absolute;
		width: var(--size) !important;
		height: var(--size) !important;
	}

    .fancy-img-container img,
    .fancy-img-container .img-decorator {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .fancy-img-container .img-decorator {
		width: 100%;
		height: 100%;
		background: url('/Themes/cirkle/media/figure/chat_round_shape3.png') no-repeat;
		filter: brightness(70%);
		background-size: contain;
    }
	.fancy-img-container .img-decorator.dark {
        background-image: url('/Themes/cirkle/media/figure/chat_round_shape3.png');
		filter: brightness(0%);
	}
/** (=end) Fancy Img **/


