@import 'reset.css?vrs=3';
@import url('https://fonts.googleapis.com/css2?family=Rufina:wght@400;700&display=swap');


/*#autocomplete-results,#autocomplete-results2 {
	position: absolute;
	z-index: 100;
	
	display: none;
	width: 400px;
	margin-top: -1px;
	background-color: #eee;
	
	div {
		text-align: left;
		width: 100%;
		padding: 10px
	}
}*/

html, body {
	/*url('../img/mingus_int.jpg');*/
	background: #333 url('../files/bg1.jpg');
	background-attachment: fixed;
	background-size: cover;
    font-family: 'Rufina', serif;
	font-size: 1em;
	line-height: 1.3em;
	color: #444;
}
p {
	margin-bottom: 5px;
	text-align: left
}
h1,h2,h3 {
    font-family: 'Rufina', serif;
	font-weight: 700;
	margin-bottom: 10px
}
h1 {
	font-size: 1.5em;
	line-height: 1em
}
h2 {
	font-size: 1em;
	color: #444;
	text-transform: uppercase
}
h3 {
	font-size: 1em;
	color: #777;
	margin: 4px 0;
}
a {
	cursor: pointer;
}
a:hover {
	text-decoration: underline;
	text-decoration-style: dotted
}
a {color: #5588ff}
hr {
	clear: both;
	display: block;
	margin: 10px 0;
	background-image: radial-gradient(circle, rgba(220, 220, 220, 1), rgba(220, 220, 220,0));
	border: none;
	height: 1px;
}
br {clear:both}
label {
	display: block;
	min-width: 120px;
	float: left;
	margin-top:10px;
	font-family: inherit;
	font-size: 12px;
	font-weight: bold
}
.button {
	margin: 0 2px 0 0;
}
.button.right {
	margin: 0 0 0 2px;
}
input:not(.checkbox), select, textarea, .editable-text, .button {
	font-size: inherit;
	font-family: inherit;
	border: 1px solid #aaa; 
	background-color: #e4e4e4;
	resize: none;
	overflow: hidden;
	padding: 2px 8px;
	height: 35px;
	color: #333;
	margin-bottom: 1px;
	
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
/*.input {
	background-color: #ddd;
	padding: 2px 6px;
}*/
.checkbox {
	width: 20px;
	height: 20px;
}
input[type="text"]:not(#toggle-placeholder), input[type="number"], input[type="email"], input[type="password"], select {
	width: 400px;
}
/*input[type="text"]:disabled, input[type="text"]:read-only {
	height: 1em;
	color: inherit
}*/
input[type="submit"], input[type="button"], .button {
	background-color: #5588ff;
	color: #fff;
	font-size: inherit;
	width: auto;
	cursor: pointer;
	border: none;
	text-align: center
}
input[type="button"].small-btn {
	width: 30px;
	background-color: #eeeee7;
}
input[type="button"].small-btn.active, input[type="button"].small-btn:hover {
	background-position-y: -30px;
	background-color: #5588ff;
}
input[type="submit"]:hover, input[type="button"]:hover, .button:hover {
	background-color: #5588ff;
}
textarea, .editable-text {
	position: relative !important;
	width: 400px;
	height: 200px;
	font-family: inherit;
	font-size: inherit;
	padding: 2px 4px
}
textarea:disabled, textarea:read-only {
	padding: 0;
	color: inherit;
	background: none;
}

::placeholder {
    color: #777;
    font-style: italic;
}
:focus {
	outline: 0 !important;
	background-color: #ddd;
}
li {
	margin-bottom: 8px;
}
.button {
	padding: 7px;
}



input:disabled {
	cursor: not-allowed;
	background-color: #ccc;
}





/* PHONE */
@media (max-width: 800px) {
	
	#container {
		margin: 2px 0 0 0 !important;
	}
	
	label {
		width: 100%;
	}
	
	#sidebar, 
	#header, 
	#adv-search-label span, 
	.search-type-label,
	.product-push-item
	{
		display: none !important;
	}
	.product-push-item-mob {
		clear: both;
		display: block !important
	}
	#product-push {
		display: block !important;
	}
	.product-push-image {
		width: 100px !important;
		margin-right: 10px !important;
		float: left
	}
	input[type="text"]:not(#toggle-placeholder), input[type="number"], input[type="password"], select, textarea, .editable-text {
		max-width: 250px;
	}
	#adm-header {
		flex-wrap: wrap !important
	}
	
	#mob-menu
	{
		display: block !important;
	}
	#adv-search-label:after {
		content: 'Avancerad';
	}
	#footer {
		/*flex-direction: column;*/
		gap: 10px !important;
	}
	
	
	.page-fields {
		display: flex !important;
	}
	.text-field {
		width: 100% !important;
	}
	.image-field {
		/*flex: .7;
		margin-left: 12px;*/
		width: 100% !important;
		float: left;
	}
}

@media (max-width: 500px) {
	#footer {
		flex-direction: column;
		gap: 10px !important;
	}
}

#mob-menu {
	width: 100%;
	height: 40px;
	background-color: #eeeee7
}

.mob-menu-btn {
	position: relative;
	float: right;
	margin: 2px;
	cursor: pointer;
}
.mob-menu-btn:hover {
	background: linear-gradient(0deg, rgba(85,85,85,1) 0%, rgba(51,51,51,1) 100%);
}
.mob-menu-btn span {
	padding: 10px 0px 0px 5px;
	display: inline-block;
	height: 25px;
	width: 30px;
	background-position-y: 2px;
}
.mob-menu-btn span:hover {
	color: white;
	background-position-y: -28px;
}
.mob-cart-counter {
	position: absolute;
	top: 0;
	right: 0;
	background-color: #5588ff;
	font-family: sans-serif;
	font-size: 9px;
	text-align: center;
	line-height: 17px;
	width: 15px;
	height: 15px;
	color: white
}
#mob-menu-logo {
	display: inline-block;
	margin-left: 20%;
}
#mob-menu-logo img {
	height: 40px;
	position: relative;
	left: -50%;
}
#mob-menu-content {
	margin: 1px;
	position: absolute;
	top: 40px;
	right: -1px;
	z-index: 200
}
.mob-menu-item {
	display: block;
	color: #333;
	padding: 5px 10px;
	background-color: #eeeee7;
	width: 150px;
}
.mob-menu-item h2 {
	margin: 0;
	color: black;
	font-weight: bold
}
.mob-menu-item.active,
.mob-menu-item:hover {
	background-color: #ccc;
}
/*.product-push-item-mob {
	display: block !important;
	width: 100%;
	margin-bottom: 1px;
}*/


#two-col {
	display: inline-block;
	width: 100%;
}
.col {
	min-width: 420px;
}



/* CONTAINER */

#container {
	clear: both;
	height: 100%;
	max-width: 1000px;
	display: flex;
	margin: 30px auto;
}

/* SIDEBAR */
#sidebar {
	padding:12px;
	width: 250px;
	height: 100%;
	flex-shrink: 0;
	background-color: #eeeee7;
}
#sidebar h2 {
	color: #777;
	margin: 10px 0 5px;
}
#sidebar h2 a {
	color: #777
}
.sidebar-item {
	margin-left: 8px;
	color: #222;
	font-weight: bold
}
.fb-page {
}

/* HEADER */
#header {
	display: flex;
	margin-bottom: 1px;
	gap: 1px;
}

.header-item {
	font-size: 14px;
	display: inline-block;
	padding: 9px 7px 0 7px;
	height: 26px;
	color: #fff;
	background-color: rgba(0,0,0,.4);
	flex-grow: 1;
	text-align: center;
}
.header-item-w {
	background-color: rgba(255,255,255,.7);
}
.header-item-w:hover {
	background-color: rgba(255,255,255,1) !important;
}
.header-item:hover, .header-item.active {
	background-color: rgba(20,20,20,1);
	/*-webkit-animation: color_change 1s;
	-moz-animation: color_change 1s;
	-ms-animation: color_change 1s;
	-o-animation: color_change 1s;
	animation: color_change 1s;*/
}

#searchbar {
	display: flex;
	margin-bottom: 1px;
	gap: 1px;
}
.autocomplete {
	position: relative;
	display: inline-block
}
.autocomplete-items {
	position: absolute;
	border: 1px solid #d4d4d4;
	border-bottom: none;
	border-top: none;
	z-index: 99;
	/*position the autocomplete items to be the same width as the container:*/
	top: 100%;
	left: 0;
	right: 0;
}
.autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: #fff;
	text-align: left;
	border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
	/*when hovering an item:*/
	background-color: #e9e9e9;
}
.autocomplete-active {
	/*when navigating through the items using the arrow keys:*/
	background-color: DodgerBlue !important;
	color: #ffffff;
}

.search-item {
	display: inline-block;
	text-align: center
}
.search-item.grow {
	flex-grow: 1;
}
.search-button {
	padding: 8px 7px 1px 2px;
	height: 26px;
	background-color: rgba(200,200,200,.9);
	color: #333;
	text-align: center
}
.search-button:hover, .search-button.active {
	background-color: #eeeee7;
	cursor: pointer
}
#searchbar input {
	border: 0;
	width: 100%;
}
.search-button:hover {
}
.search-button .icon {
	position: relative;
	top: -5px
}
/*#toggle-placeholder {
	border: 0;
	border-left: 1px solid #aaa;
}*/

#adm-header {
	background-color: #ccc;
	clear: both;
	display: flex;
}
.adm-header-item {
	font-size: 10px;
	text-align: center;
	font-family: sans-serif;
	text-transform: uppercase;
	display: inline-block;
	padding: 5px 3px;
	color: #555;
	flex-grow: 1;
}
.adm-header-item:hover {
	background-color: #ddd;
}
.adm-header-item.active {
	background-color: #eeeee7;
	color: #333;
}
#spread {
	
}
.spread-item {
	text-transform: uppercase;
	font-family: sans-serif;
	font-size: .8em;
	background-color: #ddd;
	color: #888;
	padding: 4px 7px;
	margin-right: 1px;
}



#dashboard-grid {
	display: flex;
	flew-wrap: wrap;
	/*flex-direction: row*/
}
.dashboard-grid-item {
	border: 1px solid #ccc;
	padding: 10px;
	margin: 2px;
	flex-grow: 1;
	flex-basis: auto
}



/* CONTENT */
#content-wrapper {
	flex-grow: 1;
	margin-left: 1px;
}
#content {
	background-color: #eeeee7;
	padding: 20px;
}



.product {
	margin-bottom: 10px;
	padding: 5px;
	clear: both;
	position: relative;
}
.product h1 {
	line-height: 1.4em
}
.product p {
	overflow: auto
}
.product-image {
	width: 40%;
	margin: 0 0 15px 15px;
	position: relative;
}
.product-image img {
	width: 100%;
}
.product-tag {
	position: absolute;
	top: 10px;
	right: -10px;
	background-color: #55ff55;
	color: #333;
	padding: 5px;
	font-weight: bold;
}
.product-tag-level-1{
	background-color: #ff5555;
	top: 45px;
}
.product-tag-level-2{
	background-color: #5555ff;
	top: 90px;
}
.product-thumb {
	width: 50px;
	margin: 0 10px 10px 0;
}
.product-tips {
	background-color: #ddd;
	padding: 14px;
	border: 1px solid #777;
	width: 50%;
}
#cart-thumbs .product, .border-box {
	border: 1px solid #ccc;
	margin-bottom: 2px;
	
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.product-dummy {
	background-color: #777;
	height: 70px;
	width: 50px;
	display: inline-block;
}
.product-data {
	font-family: sans-serif;
	text-transform: uppercase;
	color: #888;
	font-size: 11px;
	margin-bottom: 0;
}
.product-title>a {
    font-family: 'Source Serif Pro', serif;
	font-weight: bold;
	color: #333;
}
.product-title>a:hover {
	text-decoration: underline
}
.product-buy, .product-bought {
	border: 1px solid #5588ff;
	color: #333;
	padding: 5px 8px;
	margin: 5px;
	font-size: 14px;
	font-family: Sans-serif;
	text-align: center;
	cursor: pointer;
	
    transition: background-color 0.1s linear;
    -o-transition: background-color 0.1s linear;
    -ms-transition: background-color 0.1s linear;
    -moz-transition: background-color 0.1s linear;
    -webkit-transition: background-color 0.1s linear;
}
.product-bought {
	border-color: red
}
.product-buy:hover {
	color: #fff;
	background-color: #6699ee;
}
.product-bought:hover {
	color: #fff;
	background-color: red
}
.product-push-item.product-buy, .product-push-item.product-bought, 
.product-push-item-mob.product-buy, .product-push-item-mob.product-bought {
	display: inline-block;
	width: 100%;
}
.product-push-item-mob .product-info {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}
.product-price {
	color: #55f;
	background-color: #fff;
	padding: 5px 8px;
}
.product-info, .product-info>a {
	/*font-size: .9em;
	color: #777;*/
}
.product-info>a:hover {
	text-decoration: underline
}
.product-title>a, .product-info>a, .product-data {
	vertical-align: top;
}

#product-push {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
}
.product-push-item {
	position: relative;
	flex: 1;
	min-width: 150px;
	padding: 5px;
	margin-right: 1px;
	margin-bottom: 25px;
}
.product-push-info {
	height: 65px;
}
.product-push-image {
	display: block;
	max-height: 190px;
	max-width: 160px;
	margin: 0 auto 5px auto;
}
.product-push-item a,
.product-push-item-mob a {
	color: #333;
}
.product-push-title, .product-push-author, .product-push-format {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}
.product-push-item .product-buy {
	margin-left: 0;
}
/*.product-push-slant {
	height: 200px;
	position: relative;
	top: 30px;
	transform: perspective(200px) rotateY(-25deg) translate(0, -30px);
}
.product-pagevis-slant {
	position: relative;
	margin-right: 10px;
	top: 30px;
	height: 200px;
	display: inline-block;
	transform: perspective(200px) rotateY(45deg) translate(0, -30px);
	background: repeating-linear-gradient(
		90deg,
		#fff,
		#fff 1px,
		#aaa 1px,
		#aaa 3px
	);
}*/

.sibling {
	padding: 5px;
	background-color: white;
	margin-bottom: 2px;
}

.long-button {
	width: 100%;
	text-align: center;
	padding: 4px;
	background-color: #ccc;
	cursor: pointer;
}
.long-button:hover {
	background-color: #bbb
}



/*** NEWS ***/

.news-item, .news-item-adm {
	border: 5px solid #555;
	border-style: double;
	padding: 12px;
	margin-bottom: 15px;
}
.news-item-adm {
	border: 5px solid red;
	border-style: double;
	padding: 12px;
	margin-bottom: 15px;
}


/*** ABOUT ***/
.page-image {
	float: right;
	margin-top: 12px;
	position: relative;
}
.page-image-image {
	width: 100%;
}
.page-fields {
	display: flex;
}
.text-field {
	flex: 1;
	float: left;
}
.image-field {
	flex: .7;
	margin-left: 12px;
	float: right;
}



.flex {
	display: flex;
	flex-wrap: wrap
}
.flex div {
	flex-grow: 1
}



.paging, #search-results {
	font-size: .8em;
	background-color: #ddd;
	padding: 8px 8px 5px 8px;
	margin-bottom: 1px;
}
.paging p, #search-results p {
	text-align: center
}
.paging a, .paging span {
	margin-top: -4px
}



/* FOOTER */
#footer {
	display: flex;
	background-color: #333;
	color: white;
	gap: 50px;
	padding: 24px;
}
.footer-item {
	flex: 1 auto;
	display: block;
}



/* ADM */
.adm-edit {
	background-color: #333;
	color: white;
	padding: 6px 10px;
	margin-right: 3px;
	font-family: sans-serif;
	text-transform: uppercase;
	font-size: 12px
}
.adm-edit:hover {
	background-color: #111
}

.adm-order-box {
	border: 1px solid #ccc;
	padding: 12px;
}

.edit-buttons {
	position: absolute;
	top: 0;
	right: 0
}

 /* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	height: 34px;
	margin-top: 2px;
	margin-bottom: 5px;
}

/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 60px;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 3px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
	border-radius: 10%;
}

input:checked + .slider {
	background-color: #5588ff;
}

input:focus + .slider {
	box-shadow: 0 0 1px #5599ff;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

.adm-box {
	clear: both;
	padding: 12px;
	margin-bottom: 2px;
	background-color: #ddd;
}
.adm-box-button {
	background-color: #5588ff;
	color: white;
}
.adm-field {
	width: 270px;
	display: inline-block;
}
.adm-edit-btns {
	margin-top: -6px;
	margin-right: -8px
}
.shortfield {
	width: 190px !important;
}
.edit-input {
	position: relative;
}
.edit-list-btn {
	position: absolute;
	top: 0;
	right: 0;
	background-color: red
}
.adm-image {
	max-width: 350px !important;
	position: relative;
}

.edit-btn {
	font-family: arial;
	font-size: 14px;
}
.monitor {
	border: 1px solid #ccc;
	padding: 5px;
	margin-bottom: 2px;
}

.modal {
	z-index: 100;
	box-shadow: 0 3px 4px 3px rgba(0, 0, 0, .2);
}
.modal::backdrop {
	background-image: linear-gradient(
		45deg,
		magenta,
		rebeccapurple,
		dodgerblue,
		green
	);
	opacity: 0.75;
}


.datefield {
	position: relative;
	float: left;
	margin-right: 1px;
	height: 100px;
	width: 80px;
	font-family: sans-serif;
	text-align: center;
	font-size: 12px;
}
.datefield-title {
	position: absolute;
	text-align: center;
	width: 80px;
	bottom: 0px;
}
.datefield-column {
	vertical-align: bottom;
	min-height: 1px;
	background-color: orange;
}



.icon {
	width: 30px;
	height: 30px;
	background: url(../img/icons.svg);
}
.icon-s {
	width: 20px;
	height: 20px;
	display: block;
	background: url(../img/icons.svg);
}
.icon2, .icon3 {
	display: block;
	margin: 5px 1px 0 0;
	border: 1px solid #333;
	background-color: rgba(200,200,200,.8);
	color: #333 !important;
	width: 18px;
	text-align: center;
	padding: 5px;
}
.icon3 {
	width: auto;
}
.icon2:hover, .icon3:hover {
	color: white !important;
	background-color: #333
}

.icon-left 		{background-position: 0px 0px}
.icon-right		{background-position: -30px 0px}
.icon-hlist		{background-position: -60px 0px}
.icon-vlist		{background-position: -90px 0px}
.icon-book		{background-position: -120px 0px}
.icon-record	{background-position: -150px 0px}
.icon-facebook	{background-position: -180px 0px}
.icon-english	{background-position: -210px 0px}
.icon-cart		{background-position: -240px 0px}
.icon-skipleft	{background-position: -270px 0px}
.icon-skipright	{background-position: -300px 0px}
.icon-person	{background-position: -330px 0px}
.icon-down		{background-position: -390px 0px}
.icon-up		{background-position: -420px 0px}
.icon-book-arch	{background-position: -450px 0px}
.icon-record-arch{background-position: -480px 0px}
.icon-edit		{background-position: -480px 0px}
.icon-delete	{background-position: -510px 0px; background-color: rgba(255,255,255,.5)}

.icon-left-w 		{background-position: 0px -30px}
.icon-right-w		{background-position: -30px -30px}
.icon-hlist-w		{background-position: -60px -30px}
.icon-vlist-w		{background-position: -90px -30px}
.icon-book-w		{background-position: -120px -30px}
.icon-record-w		{background-position: -150px -30px}
.icon-facebook-w	{background-position: -180px -30px}
.icon-cart-w		{background-position: -240px -30px}
.icon-skipleft-w	{background-position: -270px -30px}
.icon-skipright-w	{background-position: -300px -30px}
.icon-person-w		{background-position: -330px -30px}
.icon-down-w		{background-position: -360px -30px}
.icon-up-w			{background-position: -390px -30px}
.icon-book-arch-w	{background-position: -420px -30px}
.icon-record-arch-w	{background-position: -450px -30px}
.icon-edit-w		{background-position: -480px -30px}
.icon-delete-w		{background-position: -510px -30px}

.icon-cart-s-w		{background-position: -245px -35px}


.left {float:left}
.right {float:right}
.center {text-align:center}
.clear {clear:both}
.hidden {display:none}
.ninja {opacity:0; cursor:default}
.handle {cursor:pointer}
.blue {background-color: #19a9be}
.red {color: red}
.red-bg {background-color:red}
.blue-text {color: #19a9be}
.error {color:red; font-style:italic}
.blush {background-color: red}
.cleared {color:green; font-style:italic}
.dotted {border-style: dotted}
.dashed {border-style: dashed}
.grayed {background-color: #bbb}
.no-pointer {cursor: default}
.faded {opacity:.3}

.pulsate {
	animation: pulse .5s 2;
}
.pulsate2 {
	animation: pulse2 .5s 2;
}
@keyframes pulse {
  0% {
		background-color: #5588ff;
  }
  50% {
		background-color: #333;
  }
  100% {
		background-color: #5588ff;
  }
}
@keyframes pulse2 {
  0% {
		background-color: #5588ff;
  }
  50% {
		background-color: #eee;
  }
  100% {
		background-color: #5588ff;
  }
}

.red-input {
	border: 2px solid red !important
}

.box {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

.abs-right {
	position: absolute;
	right: 0px;
}
.top-right {
	position: absolute;
	top: 0px;
	right: 10px;
}

.shadow {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
}
.box-shadow {
	box-shadow: 0 3px 4px 3px rgba(0, 0, 0, .2)
}
.box-shadow2 {
	box-shadow: 0 1px 3px 1px rgba(0, 0, 0, .2)
}
.rounded {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.rounded2 {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

@-webkit-keyframes color_change {
	from { background-color: rgba(0,0,0,.7); }
	to { background-color: rgba(255,255,255,.4); }
}
@-moz-keyframes color_change {
	from { background-color: rgba(0,0,0,.7); }
	to { background-color: rgba(255,255,255,.4); }
}
@-ms-keyframes color_change {
	from { background-color: rgba(0,0,0,.7); }
	to { background-color: rgba(255,255,255,.4); }
}
@-o-keyframes color_change {
	from { background-color: rgba(0,0,0,.7); }
	to { background-color: rgba(255,255,255,.4); }
}
@keyframes color_change {
	from { background-color: rgba(0,0,0,.7); }
	to { background-color: rgba(255,255,255,.4); }
}
