/*----------------------General Styling---------------------*/

body {
  border: 0;
  margin: 0;
  padding: 0;
}

/*----------------------Website Header----------------------*/

/*Defining the div tags for the header*/

#mainHeader {
  width: 80%;
  height: 71px;
  margin: 0;
  border: 0;
  padding-bottom: 10px;
  background-color: #000000;
  float: left;
}

#headerOpening {
  width: 20%;
  height: 71px;
  color: #FFFFFF;
  margin: 0;
  border: 0;
  padding-bottom: 10px;
  background-color: #000000;
  float: left;
}

/*Styling details for main company logo*/

h1.header {
  font-family: 'Chakra Petch', sans-serif;
  color: #FFFFFF;
  font-size: 29px;
  padding-left: 60px;
  padding-top: 5px;
  padding-bottom: 0px;
  margin: 0;
}

p.header-subtext {
  font-family: 'Chakra Petch', sans-serif;
  color: #FFFFFF;
  font-size: 14px;
  padding-left: 60px;
  padding-top: 0px;
  margin: 0px;
}

/*Styling details for opening times within main header bar*/

#openingTimeBox {
  border: 2px solid #FFFFFF;
  border-radius: 10px;
  width: 150px;
  margin-top: 11.5px;
}

h1.open {
  font-family: 'Chakra Petch', sans-serif;
  text-align: center;
  font-size: 20px;
  padding-bottom: 0;
  margin: 0;
}

p.openTimes {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 14px;
  padding-top: 0;
  text-align: center;
  margin: 0;
}

/*----------------------Navigation Bar----------------------*/

/*The following two CSS declarations are centring the navigation bar links within the bar*/
/*Information found here: https://stackoverflow.com/questions/41620910/how-to-center-the-contents-of-a-navigation-bar-in-html-css*/

nav {
  text-align: center;
  padding: 0;
  border: 0;
  clear: both;
}

ul.animenu_nav {
  display: inline-block;
  float: none;
  margin: 0;
}

*, *:after, *:before {
  box-sizing: border-box;
}
  
.animenu__toggle {
  display: none;
  cursor: pointer;
  background-color: #C0C0C0;
  border: 0;
  padding: 10px;
  height: 40px;
  width: 40px;
}

.animenu__toggle:hover {
  background-color: #0186ba;
}
  
.animenu__toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: 0.15s cubic-bezier(0.75, -0.55, 0.25, 1.55);
}

.animenu__toggle__bar + .animenu__toggle__bar {
  margin-top: 4px;
}
  
.animenu__toggle--active .animenu__toggle__bar {
  margin: 0;
  position: absolute;
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(1) {
  transform: rotate(45deg);
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(2) {
  opacity: 0;
}

.animenu__toggle--active .animenu__toggle__bar:nth-child(3) {
  transform: rotate(-45deg);
}
  
.animenu {
  display: block;
}

.animenu ul {
  padding: 0;
  list-style: none;
  font-family: 'Chakra Petch', sans-serif;
  width: 100%;
  margin: 0;
}

.animenu li, .animenu a {
  display: inline-block;
  font-size: 15px;
}

.animenu li {
  width: 15%;
}

/*This defines the text details for the navigation bar*/

.animenu a {
  color: #FFFFFF;
  text-decoration: none;
  width: 100%;
  text-align: center;
}
  
/*This defines the background colour for the bar and the main bar border*/

.animenu__nav {
  background-color: #000000;
}

/*This defines the border between buttons*/

.animenu__nav > li {
  position: relative;
}

.animenu__nav > li > a {
  padding: 5px;
  text-transform: uppercase;
}

.animenu__nav > li:hover > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}

/*This defines the navigation bar hover text colour*/
  
.animenu__nav > li:hover > a {
  color: #FFFFFF;
}

.animenu__nav > li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  margin: 0;
}

.animenu__nav > li:focus-within > a {
  color: #000000;
}

.animenu__nav__hasDropdown:before {
  content: "";
  position: absolute;
  border: 4px solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
  top: 50%;
  margin-top: -2px;
  right: 10px;
}
  
.animenu__nav__dropdown {
  min-width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  margin: 20px 0 0 0;
  background-color: #000000;
  transition: margin .15s, opacity .15s;
  border: 1px solid #FFFFFF;
}

/*Navigation dropdown menu border details*/

.animenu__nav__dropdown > li {
  width: 100%;
  border-bottom: 1px solid #FFFFFF;
}

.animenu__nav__dropdown > li:first-child > a:after {
  content: '';
  position: absolute;
  height: 0;
  width: 0;
  left: 1em;
  top: -6px;
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: inherit;
  }

.animenu__nav__dropdown > li:last-child {
  border: 0;
}

.animenu__nav__dropdown a {
  padding: 10px;
  width: 100%;
  border-color: #FFFFFF;
}

.animenu__nav__dropdown a:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.animenu__nav__dropdown a:focus-within {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}


/*--------------------Main Section--------------------*/

/*Defining the div tags for the main section*/

main {
  display: flex;
}

#mainArea {
  width: 80%;
  margin: 0;
  border: 0;
  padding: 0;
  float: left;
}

#mainAreaFindUs {
  width: 80%;
  margin: 0;
  border: 0;
  padding: 0;
  float: left;
  display: flex;
}

#mainAreaContact {
  width: 80%;
  margin: 0;
  border: 0;
  padding: 0;
  float: left;
}

#sideBar {
  width: 20%;
  margin: 0 auto;
  border: 0;
  padding: 0;
  background-color: #C0C0C0;
  border-left: 2px solid #000000;
  float: left;
  text-align: center;
}


/*-----------Main Text Areas & Related Divs-----------*/

/*Main Area Div*/

#mainText {
  padding: 5px 20px 20px 20px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
}

#mainTextContact {
  /*display: flex;*/
  width: 100%;
  padding: 5px 20px 0px 20px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
}

/*Address Div*/

#address {
  width: 50%;
  float: left;
}

#map {
  width: 50%;
  float: left;
  align-items: stretch;
}

/*Contact Us*/

#contactForm {
  padding: 0 20px 20px 20px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
}

.contact {
  padding-right: 10px;
  vertical-align: top;
  width: 10%;
}

input {
  width: 100%;
}

textarea {
  width: 100%;
  height: 100px;
}


/*--------------------Home Page Slideshow--------------------*/

* {box-sizing: border-box;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  display: flex;
  justify-content: center;
  padding: 10px;
}

.mySlides {
  border: 2px solid #000000;
  width: 80%;
}

.slideshow {
  width: 100%
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


/*--------------------Game Display Pages--------------------*/

#topSellers {
  border-top: 1px solid #FFFFFF;
}

#section-header {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  position: relative;
  padding-left: 3%;
}

.systemLogo {
  height: 70px;
}

h2 {
  display: inline;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 45px;
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-left: 20px;
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.flex-container > div {
  margin: 2px;
}


/*--------------------Game Windows--------------------*/

/*Modal Data*/

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: -60px;
  width: 100%; /* Full width */
  height: 100px;
}

/*Modal Box Style Details*/

.modal-content {
  background-color: #FFFFFF;
  margin: 10% auto; /* 15% from the top and centered */
  border: 2px solid #C0C0C0;
  width: 80%; /* Could be more or less, depending on screen size */
}

/*Modal Header Style Details*/

.modal-header {
  padding: 2px 10px;
  background-color: #000000;
}

#modalTitle {
  color: #FFFFFF;
  font-family:'Chakra Petch', sans-serif;
  font-size: 28px;
  margin: 0;
  overflow: auto;
}

/*Modal Body Style Details*/
.modal-body {
  padding: 2px 10px;
  overflow: hidden;
}

/*Modal Image Sytle Details*/
.modalImageContainer {
  width: 25%;
  float: left;
  margin: 0;
  border: 0;
  margin-bottom: 5px;
}

#modalImage {
  padding-right: 10px;
  width: 100%;
}

/*Modal Main Text Style Details*/
.modalTextContainer {
  width: 75%;
  float: left;
  margin: 0;
  border: 0;
  margin-bottom: 5px;
  height: 440px;
  overflow: scroll;
}

#modalText {
  font-family:'Chakra Petch', sans-serif;
  font-size: 16px;
  margin: 2px;
}

#price {
  font-family:'Chakra Petch', sans-serif;
  font-size: 16px;
  margin: 2px;
  font-weight: bold;
}

#modalPrice {
  color: #8B0000;
}

/*Modal Close Button */
.close {
  color: #FFFFFF;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #C0C0C0;
  text-decoration: none;
  cursor: pointer;
}


/*--------------------Company Address--------------------*/

p.address {
  padding: 20px;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  margin: 0;
}

img.shop {
  width: 100%;
}

iframe {
  width: 99.9%;
  height: 100%;
  border: 0;
}


/*--------------------Sidebar--------------------*/

/*Title*/

h1.upEvents {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
}

#upEvents {
  width: 100%;
  font-family: 'Chakra Petch', sans-serif;
  padding-right: 10px;
  padding-left: 10px;
}


/*--------------------Calendar--------------------*/

#calendar {
  width: 100%;
  justify-content: center;
  display: flex;
}

#calendar-center {
  width: 80%;
  justify-content: center;
}

/*CSS style coding for the calendar*/

.main {
  width: 100%;
  border:1px solid black;
}
  
.month {
  background-color:black;
  font:bold 12px 'Chakra Petch', sans-serif;
  color:white;
}
  
.daysofweek {
  background-color: #000000;
  font:bold 12px 'Chakra Petch', sans-serif;
  color:white;
}
  
.days {
  font-size: 12px;
  font-family: 'Chakra Petch', sans-serif;
  color:black;
  background-color: #C0C0C0;
  padding: 2px;
  border: 0px;
}
  
.days #today{
  font-weight: bold;
  color: red;
}


/*----------------------Footer------------------------*/

footer {
  background-color: #000000;
  font-size: 14px;
  font-family: 'Chakra Petch', sans-serif;
  color: #FFFFFF;
  clear: both;
  text-align: center;
}

p.copyright {
  border: 0;
  padding: 0;
  margin: 0;
}

a.footerNav {
  font-size: 14px;
  font-family: 'Chakra Petch', sans-serif;
  color: #FFFFFF;
  text-decoration: none;
  border: 0;
  margin: 0;
}

p.footerNavBar {
  padding-bottom: 10px;
  border-bottom: 0;
  margin-bottom: 0;
}