* {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	-webkit-tap-highlight-color:transparent;
}
html {
	height: 100%;
	background-color:#FFFAFA;
}
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
a {
	text-decoration:none;
}
li a, #breadcrumbs a {
	color:#0B1C35;
}
a::selection {
	color: none;
	background: none;
}
a::-moz-selection {
	color: none;
	background: none;
}
a:hover, #breadcrumbs a:hover, .main-nav a:hover {
	color:#DC1A4C;
}

p a {
	color:#DC1A4C;
}
p a:hover {
	color:#0B1C35;
}
a:hover img {
	opacity:.8;
}
.content {
	flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
}
footer {
	flex-shrink: 0; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
	padding: 10px 10px 20px 10px;
}

h1, h2, h3, h4, p {
	margin-top:15px;
}
h1.heading {
	font-size:25px;
	margin-bottom:10px;
}
#breadcrumbs {
	font-size: 15px;
}
p, li {
	margin-top:5px;
	font-size: 15px;
}
li {
	list-style-position: inside;
}
header {
	background-color: #0B1C35;
	padding:25px 5px 5px 5px;
}

main {
	padding: 20px;
}

.logo-wrap {
	display: flex;
	justify-content:center;
}
.logo {
	max-width: 200px;
}
.main-nav {
	margin-top: 10px;
	margin-bottom: 10px;
	list-style-type: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
}

.main-nav a {
	font-size: 1rem;
	display:inline;
	text-decoration: none;
	color: white;
	padding: 20px;
	margin:0;
}
.main-nav a.active {
	font-weight:bold;
}

@media only screen and (min-width: 500px) {
	.main-nav a {
		font-size: 1.25rem;
	}
}

@media only screen and (max-width: 580px) {
	.main-nav {
		padding: 0 1rem;
		justify-content: space-between;
	}

	.main-nav a {
		padding: 0;
	}
}

@media only screen and (max-width: 360px) {
	.main-nav {
		padding: 0 0.5rem;
	}

	.main-nav a {
		font-size: 0.8rem;
	}
}

a.footer-page-link {
	color:#DC1A4C;
}
a.footer-page-link:hover {
	color:#0B1C35;
}

footer {
	background-color:#DC1A4C;
	padding:15px;
}
footer p {
	color:#FFFFFF;
	text-align:center;
	font-size:10px;
	margin-bottom:5px;
}
.footer-nav-social {
	padding:0;
	list-style-type: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
}
.footer-socials {
	display:inline;
	text-decoration: none;
	color: white;
	padding:5px;
	margin:0;
	font-size:20px;
}
.footer-nav {
	padding:0;
	margin-bottom:10px;
	list-style-type: none;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
}
.footer-links {
	margin-top:0px;
	display:inline;
	text-decoration: none;
	color: white;
	padding:5px;
	margin:0;
	font-size:12px;
}
a.footer-links:hover, a.footer-socials:hover {
	color:#0B1C35;
}

/* CATALOGUE LISTS */
ul.portfolio {
	max-width: 1300px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: baseline;
	justify-content: center;
}

ul.portfolio li {
	display: block;
	width: 20%;
	max-width: 250px;
	min-width: 200px;
	padding: 10px 20px;
}

ul.portfolio p {
	font-size: 12px;
	font-weight: bold;
}

.cover {
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 798px) {
	ul.portfolio li {
		min-width: 175px;
		padding: 5px 10px;
	}
}

@media screen and (max-width: 480px) {
	ul.portfolio li {
		min-width: 125px;
	}
}

@media screen and (max-width: 335px) {
	ul.portfolio li {
		min-width: 100px;
	}
}

/* PRODUCT PAGE */
.product {
	max-width: 1300px;
	margin: 2rem auto;
	display: grid;
	grid-template-columns: 1fr 2fr 4fr 1fr;
}

.product__image__wrapper {
	grid-column: 2;
	margin-right: 2rem;
}

.product__image {
	width: 100%;
	min-width: 175px;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25);
}

.product__content {
	grid-column: 3;
}

.product__purchase__btn__wrapper {
	margin-top: 1em;
}

.product__purchase__btn {
	width: auto;
	border-radius: 5px;
	padding: 5px 10px;
	color: white;
	background-color: #0B1C35;
}

.product__purchase__btn:hover {
	color: white;
	background-color: #DC1A4C;
}

@media screen and (max-width: 798px) {
	.product {
		grid-template-columns: 1fr 2fr;
		margin: 2rem;
	}

	.product__image__wrapper {
		grid-column: 1;
	}

	.product__content {
		grid-column: 2;
	}
}

@media screen and (max-width: 575px) {
	.product {
		margin: 2rem 0;
		display: flex;
		flex-direction: column;
	}

	.product__image__wrapper {
		max-width: 225px;
		margin: 0 auto 1rem;
	}
}

/* LIST.JS */
.pagination-wrap {
	user-select: none;
	display: flex;
	justify-content: center;
	margin-top:20px;
	padding:15px;
}
.pagination-wrap  a {
	text-decoration: none;
}
.pagination-layout {
	display: flex;
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.pagination-layout li {
	width: 24px;
	margin: 0 1px;
}
.pagination-layout a.page {
	height: 24px;
	width: 24px;
	display: block;
	border: none;
	line-height: 24px;
	padding: 0;
	text-align: center;
	font-weight: 700;
	color: #0B1C35;
	background-color: transparent;
}

.pagination-layout a.page:hover,
.pagination-layout li.active a.page,
.pagination-layout li.active a.page {
	color: #DC1A4C;
}

.pagination-next, .pagination-prev {
	color: #0B1C35;
}

.pagination-next:hover, .pagination-prev:hover{
	color: #DC1A4C;
}

.pagination-next.disabled, .pagination-prev.disabled {
	color: #D8D8D8;
	cursor: default;
}

.pagination-next.disabled:hover, .pagination-prev.disabled:hover {
	color: #D8D8D8;
}
.catalogue-heading h1 {
	white-space: nowrap;
}

@media screen and (min-width: 500px) {
	.flex {
		margin-top:10px;
		display:flex;
		align-items:center;
		justify-content:space-between;
	}
	.catalogue-heading {
		padding-right:25px;
	}
	.catalogue-heading h1 {
		margin:0;
	}
}

.search-box {
	width: 100%;
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.search-box * {
	margin: 5px 2px 0 2px;
}

.search-box .filter.tail-select {
	margin: 5px 3px 0 3px;
}

@media screen and (max-width: 480px) {
	.search-box {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.search-box input.search {
		width: auto;
		grid-column: 1/3;
	}

	.search-box .sort {
		grid-row: 2/3;
		padding: 0;
	}

	.search-box .filter.tail-select  {
		grid-row: 3/4;
		width: auto;
	}

	.remove-filter-btn {
		grid-row: 4/5;
		grid-column: 1/3;
	}
}

input {
	border: solid 1px #ccc;
	border-radius: 5px;
	padding: 7px 14px;
	display: inline-block;
}
input.search {
	width: 150px;
	padding: 7px;
}

input:focus {
	outline: none;
	border-color: #aaa;
}
.sort {
	font-size: 0.9rem;
	cursor: pointer;
	position: relative;
	height: 35px;
	padding: 1rem 2rem;
	border-radius: 6px;
	border: solid 1px #ccc;
	color: white;
	text-decoration: none;
	background-color: #DC1A4C;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sort:hover {
	text-decoration: none;
	background-color:#0B1C35;
}
.sort:focus {
	outline:none;
}
.sort::after {
	content: "";
	display: inline-block;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	position: absolute;
	top: calc(50% - 2px);
	right: 12px;
}
.sort.asc::after {
	border-top: 5px solid #fff;
}
.sort.desc::after {
	border-bottom: 5px solid #fff;
}

/* FILTER ELEMENTS ON CATALOGUE PAGE */
.remove-filter-btn {
	font-size: 0.9rem;
	cursor: pointer;
	height: 35px;
	padding: 7px 20px;
	border: solid 1px #ccc;
	border-radius: 6px;
	color: white;
	background-color: #DC1A4C;

	display: flex;
	justify-content: center;
	align-items: center;
}

.remove-filter-btn:hover {
	background-color: #0B1C35;
}

.remove-filter-btn:focus {
	outline:none;
}

.filter.tail-select {
	font-size: 0.9rem;
	width: 200px;
}

.filter.tail-select .select-label {
	padding: 5px 10px;
	color: white;
	background-color: #DC1A4C;
}

.filter.tail-select .select-label:hover {
	color: white;
	background-color: #0B1C35;
}

.filter.tail-select .select-label::after {
	opacity: 1;
}

.filter.tail-select .select-label .label-inner {
	text-align: center;
}

.filter.tail-select .select-dropdown {
	background-color: #DC1A4C;
}

.filter.tail-select .select-dropdown ul li.dropdown-option {
	color: white;
}

.filter.tail-select input[type="text"] {
	color: white !important;
}

.filter.tail-select input[type="text"]::placeholder {
	color: white !important;
}

.filter.tail-select.active .select-label, .tail-select.idle .select-label, .tail-select:hover .select-label {
	box-shadow: 0 1px 1px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.25) !important;
	-webkit-box-shadow: 0 1px 1px 1px rgba(0,0,0,.1),0 0 1px 1px rgba(0,0,0,.25) !important;
}



table {
	margin-top:1em;
	border:1px solid;
	border-collapse:collapse;
	
}
th, td {
	border:1px solid #222;;
	padding:0.5em;
	text-align:left;
	font-size: 15px;
}