@font-face {
  font-family: "Playfair Display";
  src: url(../assets/fonts/Playfair_Display/PlayfairDisplay-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: "DMSans";
  src: url(../assets/fonts/DMSans/DMSans-ExtraBold.ttf);
  font-weight: 900;
}
@font-face {
  font-family: "DMSans";
  src: url(../assets/fonts/DMSans/DMSans-Bold.ttf);
  font-weight: 700;
}
@font-face {
  font-family: "DMSans";
  src: url(../assets/fonts/DMSans/DMSans-SemiBold.ttf);
  font-weight: 600;
}
@font-face {
  font-family: "DMSans";
  src: url(../assets/fonts/DMSans/DMSans-Medium.ttf);
  font-weight: 500;
}
@font-face {
  font-family: "DMSans";
  src: url(../assets/fonts/DMSans/DMSans-Regular.ttf);
  font-weight: 400;
}
@font-face {
  font-family: OpenSans;
  src: url(../assets/fonts/Open_Sans/OpenSans-Bold.ttf);
  font-weight: 700;
}
html {
  scroll-behavior: smooth;
}
:root {
  --blue: #00456B;
  --white: #ffffff;
  --black: #000000;
  --orange: #ff7c00;
}
body {
  font-family: OpenSans;
  font-weight: 400;
}
/* General Styles */
.container {
  width: 100%;
  max-width: 1440px;
  padding: 0 20px;
  margin: 0 auto;
}

.button,
#searchsubmit {
  background-color: transparent;
  padding: 5px 22px;
  color: #fff;
  font-weight: 700;
  display: inline-block;
  border: 1px solid var(--orange);
  border-radius: 20px;
  cursor: pointer;
}
.button:hover,
#searchsubmit:hover {
  background-color: var(--orange);
  color: #fff;
  text-decoration: none;
}
.button-blue {
  border: 1px solid var(--blue);
  color: var(--blue);
}
.button-blue:hover {
  background-color: var(--blue);
  color: var(--white);
}
.button-white {
  border: 1px solid var(--white);
  color: var(--white);
}
.button-white:hover {
  background-color: var(--white);
  color: var(--blue);
}

/* End General Styles */
/* Font Style */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DMSans";
  color: var(--blue);
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 38px;
}
.xxxl {
  font-size: 120px;
  font-family: "Playfair Display";
}
.xxl {
  font-size: 64px;
  font-family: "Playfair Display";
  font-weight: 400;
  text-transform: uppercase;
}
.xl {
  font-size: 48px;
}
.l {
  font-size: 24px;
}
.lg{
  font-size: 30px;
}
.m {
  font-size: 20px;
}
.s {
  font-size: 18px;
}
.xs {
  font-size: 16px;
}
.xxs {
  font-size: 14px;
}
.extra-bold {
  font-weight: 900;
}
.bold {
  font-weight: 700;
}
.semi-bold {
  font-weight: 600;
}
.medium {
  font-weight: 500;
}
.white {
  color: var(--white);
}
.white-bg {
  background-color: var(--white);
}
.black {
  color: var(--black);
}
.orange {
  color: var(--orange);
}
.blue {
  color: var(--blue);
}
.blue-bg {
  background-image: linear-gradient(to bottom, var(--blue), #00385acc);
}
.orange-bg {
  background-image: linear-gradient(to bottom, var(--orange), #ff7c00cc);
}
.solid-blue-bg {
  background-color: var(--blue);
}
.solid-orange-bg {
  background-color: var(--orange);
}
.centred {
  text-align: center;
}
.margin-vertical-large {
  margin: 100px 0;
}
.margin-vertical-medium {
  margin: 50px 0;
}
.margin-vertical-small {
  margin: 20px 0;
}
.margin-top-large {
  margin-top: 100px;
}
.margin-top-medium {
  margin-top: 50px;
}
.margin-top-small {
  margin-top: 20px;
}
.margin-bottom-large {
  margin-bottom: 100px;
}
.margin-bottom-medium {
  margin-bottom: 50px;
}
.margin-bottom-small {
  margin-bottom: 20px;
}
.margin-bottom-extra-small {
  margin-bottom: 10px;
}
.padding-vertical-large {
  padding: 100px 0;
}
.padding-vertical-medium {
  padding: 50px 0;
}
.padding-vertical-small {
  padding: 20px 0;
}
.padding-top-large {
  padding-top: 100px;
}
.padding-top-medium {
  padding-top: 50px;
}
.padding-top-small {
  padding-top: 20px;
}
.padding-bottom-large {
  padding-bottom: 100px;
}
.padding-bottom-medium {
  padding-bottom: 50px;
}
.padding-bottom-small {
  padding-bottom: 20px;
}
.padding-bottom-extra-small {
  padding-bottom: 10px;
}
p,
li,
a,
td,
th,
#s {
  font-size: 16px;
  line-height: 1.6em;
  color: var(--blue);
  font-family: "DMSans";
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
p,
ul,
ol,
table {
  margin-bottom: 20px;
}
blockquote {
  margin-bottom: 20px;
}
blockquote p {
  font-weight: 600;
  font-size: 120%;
  line-height: 1.4em;
}
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;
}
table {
  width: 100%;
}
table th {
  background-color: #999999;
  color: #000;
  font-weight: 600;
  text-align: left;
}
table th,
table td {
  padding: 5px;
  border: 1px solid #999;
}
table tr:nth-child(2n) {
  background-color: #eee;
}
a,
i,
#searchsubmit {
  transition: all 0.5s ease-in-out;
}
a {
  color: var(--orange);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* End Font Style */

/* Search */
#searchform {
  margin-bottom: 20px;
}
#searchform #s {
  border: 1px solid #333;
}
#searchsubmit {
  border: 0;
  font-size: 16px;
  line-height: 1.6em;
  cursor: pointer;
  padding: 3px 22px;
  font-family: OpenSans;
}
/* End of Search */

/* Menu */
header {
  padding: 10px 0;
}
.navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 35px;
  padding: 10px 35px;
  margin: auto;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
}
.Logo a {
  display: flex;
}
.navBar a {
  color: var(--blue);
  font-size: 18px;
  font-weight: 500;
}
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;
  padding: 5px 15px;
}
nav ul.sub-menu {
  display: none;
  list-style-type: none;
  flex-direction: column;
  position: absolute;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
  min-width: 200px;
  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: var(--blue);
  padding: 4px;
  color: #fff;
  font-family: "DMSans";
  font-size: 18px;
}
a.page-numbers:hover,
.page-numbers.current {
  background-color: var(--orange);
  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);
  }
}
