@font-face {
	font-family: OpenSans;
	src: url(../assets/fonts/Open_Sans/OpenSans-Light.ttf);
	font-weight: 300;
}
@font-face {
	font-family: OpenSans;
	src: url(../assets/fonts/Open_Sans/OpenSans-Regular.ttf);
	font-weight: 400;
}
@font-face {
	font-family: OpenSans;
	src: url(../assets/fonts/Open_Sans/OpenSans-Medium.ttf);
	font-weight: 500;
}
@font-face {
	font-family: OpenSans;
	src: url(../assets/fonts/Open_Sans/OpenSans-SemiBold.ttf);
	font-weight: 600;
}
@font-face {
	font-family: OpenSans;
	src: url(../assets/fonts/Open_Sans/OpenSans-Bold.ttf);
	font-weight: 700;
}



@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/Playfair/PlayfairDisplay-Bold.woff2') format('woff2'),
        url('../assets/fonts/Playfair/PlayfairDisplay-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/Playfair/PlayfairDisplay-Italic.woff2') format('woff2'),
        url('../assets/fonts/Playfair/PlayfairDisplay-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url(../assets/fonts/Playfair/'PlayfairDisplay-Medium.woff2') format('woff2'),
        url('../assets/fonts/Playfair/PlayfairDisplay-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/Playfair/PlayfairDisplay-Regular.woff2') format('woff2'),
        url('../assets/fonts/Playfair/PlayfairDisplay-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/Playfair/PlayfairDisplay-SemiBold.woff2') format('woff2'),
        url('../assets/fonts/Playfair/PlayfairDisplay-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


html {
	scroll-behavior: smooth;
}

:root {
	--textcolour: #191818;
	--red: #CF142B;
	--grey: rgba(0,0,0,.2);
	--greybg: #cccccc;
	--primary: #eee9e0;
	
	--general--content-spacing: 20px;
}

body {
	margin: 0;
	font-family: OpenSans, Arial, sans-serif;
	font-weight: 400;
	color: var(--textcolour);
}

/* container */
.container {
	width: 100%;
	padding: 0 150px;
	margin: 0 auto;
}

/* headings */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 2rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	font-family: 'Playfair Display';
	color: #918064;
	margin: 0 0 var(--general--content-spacing);
	font-weight: 700;
	line-height: 1.2;
}
/* heading class variants */
.h1 { font-size: 2.375rem; }
.h2 { font-size: 2.1875rem; }
.h3 { font-size: 1.875rem; }
.h4 { font-size: 1.75rem; }
.h5 { font-size: 1.5625rem; }
.h6 { font-size: 1.25rem; }

/* text defaults */
p,
li,
a,
td,
th,
#s {
	font-size: 1rem; /* 16px */
	line-height: 1.6em;
	font-weight: 400;
	color: var(--textcolour);
}

p,
ul,
ol,
table,
.p,
blockquote{
	margin: 0 0 var(--general--content-spacing);
}

p:last-child {
	margin-bottom: 0;
}

/* links */
a {
	color: #191818;
	text-decoration: underline;
	transition: all .5s ease-in-out;
}

a:hover {
	color: var(--red);
}

/* blockquotes */

blockquote p,
.blockquote {
	font-weight: 600;
	font-size: 120%;
	line-height: 1.4;
}

blockquote p {
	margin: 0;
}

/* font size helper classes */
.font-xl { font-size: 1.375rem; line-height: 1.5em; }  /* 22px */
.font-l  { font-size: 1.25rem;  line-height: 1.55em; } /* 20px */
.font-m, .font-r  { font-size: 1rem; line-height: 1.6em; }  /* 16px */
.font-s  { font-size: 0.9375rem; line-height: 1.65em; } /* 15px */
.font-xs { font-size: 0.8125rem; line-height: 1.7em; }  /* 13px */


/* alignment helpers */
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* colour helpers */
.text-white { color: #fff; }
.text-black { color: #191818; }

/* images */
img {
	max-width: 100%;
	height: auto;
}

/* lists */
ul,
ol {
	padding-left: 20px;
	margin-top: -10px;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
	margin-top: 0;
}

/* tables */
table {
	width: 100%;
}

table th {
	background-color: #191818;
	color: #fff;
	font-weight: 600;
	text-align: left;
}

table th,
table td {
	padding: 5px;
	border: 1px solid #999;
}

table tr:nth-child(2n) {
	background-color: #eee;
}

/* search */
#searchform {
	margin-bottom: var(--general--content-spacing);
}

#searchform #s {
	border: 1px solid #333;
}

/* buttons */
.Button, .btn, .button, #searchsubmit, .gallery__toggle, .gform_button.button {
	cursor: pointer;
	font-family: OpenSans, Arial, sans-serif;
	transition: all .5s ease-in-out;
	border: 0;
	font-size: 1rem;
	line-height: 1.6em;
	background-color: var(--greybg);
	padding: 10px 20px;
	text-decoration: none;
	color: var(--textcolour);
	display: inline-block;
}

.Button:hover,
.btn:hover,
.button:hover,
.gallery__toggle:hover,
#searchsubmit:hover{
	background-color: #474747;
	color: #fff;
}



/*end*/

/* Menu */
header {
	background-color: #fff;
}
.navBar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding-top: 10px;
	border-bottom: 1px solid rgba(0,0,0,.2);
	padding-bottom: 10px;
}
.navBar .Logo img {
	height: 50px;
}
nav ul.menu {
	display: flex;
	justify-content: space-between;
	column-gap: 10px;
	padding: 0;
	list-style-type: none;
	margin: 0;
}
nav ul.menu li {
	position: relative;
}
nav ul.sub-menu {
	display: none;
	list-style-type: none;
	flex-direction: column;
	position: absolute;
	padding: 20px 10px;
	background-color: #191818;
	min-width: 250px;
	z-index: 8;
}
nav ul.sub-menu ul.sub-menu {
	right: -100%;
	top: 0;
}
/* End Menu */
#ContentWrap {
	padding: 50px 0;
}
/* Archive */
.archive-loop {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 30px;
}
.ArticleImgWrap {
	display: block;
	width: 100%;
	height: 225px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.navigation.pagination {
	background-color: unset;
	text-align: center;
	margin-top: 30px;
	padding: 0;
}
.page-numbers {
	background-color: #191818;
	padding: 4px;
	color: #fff;
}
a.page-numbers:hover, .page-numbers.current{
	background-color: #191818;
	color: #fff;
}
/* End of Archive */




/* Device = Laptops, Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {

}

/* Device = Tablets, Ipads (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
   .archive-loop {
		grid-template-columns: repeat(2,1fr);
	}
}

/* Device = Tablets, Ipads (landscape) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	.archive-loop {
		grid-template-columns: repeat(2,1fr);
	}
}

/* Device = Low Resolution Tablets, Mobiles (Landscape) */
@media (min-width: 481px) and (max-width: 767px) {
	.archive-loop {
		grid-template-columns: repeat(1,1fr);
	}
}

/* Device = Most of the Smartphones Mobiles (Portrait) */
@media (min-width: 320px) and (max-width: 480px) {
	.archive-loop {
		grid-template-columns: repeat(1,1fr);
	}
}

