*,
*:before,
*:after {
  /* Chrome 9-, Safari 5-, iOS 4.2-, Android 3-, Blackberry 7- */
  -webkit-box-sizing: border-box;

  /* Firefox (desktop or Android) 28- */
  -moz-box-sizing: border-box;

  /* Firefox 29+, IE 8+, Chrome 10+, Safari 5.1+, Opera 9.5+, iOS 5+, Opera Mini Anything, Blackberry 10+, Android 4+ */
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Work Sans", Geneva, Tahoma, sans-serif;
  padding: 0;
  margin: 0;
  color: #030303;
  background-color: #fefefe;
  font-size: 0.9rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto Slab", Georgia, "Times New Roman", Times, serif;
}
h1 {
  font-size: 1.6rem;
}
h2 {
  font-weight: lighter;
  margin: 10px 0 5px 0;
}
h3 {
  font-weight: lighter;
}
header {
  padding: 10px;
  text-align: center;
  background: #86470b;
  min-height: 130px;
  color: #fffefe;
}
header a {
  color: #fffefe;
}
.site-header {
  margin: 10px;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.site-header h1 {
  font-weight: lighter;
  margin: 15px;
  font-size: 1.6rem;
}
.site-logo {
  background-color: #fffefe;
  border-radius: 50%;
  width: 50px;
  margin: 10px;
}
figcaption {
  font-style: italic;
  font-size: 0.9rem;
}
figcaption::before,
figcaption::after {
  content: "\22";
  font-size: 1.1rem;
}
.site-branding {
  text-align: left;
  margin-left: 30px;
}
.wrapper {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-bottom: 20px;
}
.wrapper h1 {
  text-align: center;
  margin-top: 0.5em;
}
.menu-btn {
  border: 0;
  background: none;
  position: absolute;
  top: 20px;
  left: 20px;
  color: #fffefe;
}
.active > .item {
  display: block;
  background-color: #205f6d;
}
.navbar.active {
  position: absolute;
  top: 50px;
  left: 20px;
}
.home .home a,
.explore #dropdown,
.exhibitions #dropdown,
.events #dropdown,
.support #current,
.visit #current {
  text-decoration: underline;
}
.home .main-content p:first-of-type {
  font-size: 150%;
}
.figure a {
  background: none;
  position: relative;
  top: 0;
}
.navbar {
  margin-top: 5px;
}
.navbar li {
  text-align: left;
  padding: 15px;
}
.navbar a {
  text-decoration: none;
}
.item {
  display: none;
  position: relative;
}
.has-dropdown:hover {
  cursor: pointer;
}
.fa-bars {
  font-size: 1.5rem;
  max-height: 25px;
}
.fa-bars:hover {
  cursor: pointer;
}
.has-dropdown {
  background: none;
  color: #fffefe;
  border: none;
}
.sub-item a {
  display: block;
  padding: 5px;
}
.item,
.toggle {
  list-style-type: none;
}
.dropdown {
  display: none;
  list-style-type: none;
  border: 1px solid #ff9024;
  z-index: 10;
}
.dropdown li a:hover {
  color: #fffefe;
  background: #205f6d;
}
.visible > .dropdown {
  display: block;
  background: #fefefe;
  position: absolute;
  top: 45px;
  border-radius: 5px;
}
.visible > .dropdown a {
  color: #205f6d;
}
.visible ~ .dropdown {
  display: block;
  background: #fefefe;
  position: absolute;
  top: 15px;
  border-radius: 5px;
}
.visible ~ .dropdown a {
  color: #205f6d;
}

input[type="text"],
input[type="email"] {
  margin: 4px 0 7px 0;
  min-height: 25px;
  border: 1px solid #333;
  outline: none;
  border-radius: 4px;
  opacity: 0.9;
}
input[type="submit"] {
  width: 75px;
  min-height: 25px;
  color: #fffefe;
  margin: 10px 0 15px 0;
  border-radius: 4px;
  border: none;
  background-color: #aa6526;
}
input[type="submit"]:hover {
  background-color: #e18326;
  color: #fffefe;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: #030303;
}
::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #030303;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #030303;
}
:-ms-input-placeholder {
  /* IE 10+ */
  color: #030303;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #303030;
}
input:focus::-webkit-input-placeholder {
  color: transparent !important;
}
input:focus::-moz-placeholder {
  color: transparent !important;
}
input:focus:-moz-placeholder {
  color: transparent !important;
}
.sidebar {
  order: 1;
}
.search {
  margin: 10px;
  font-size: 0.7rem;
  align-self: flex-end;
}
.search-field {
  max-width: 70px;
  height: 21px;
  padding-left: 2px;
  font-size: 0.7rem;
}
.search-btn {
  background-color: #86470b;
  position: relative;
  left: -5px;
  padding: 1px;
  top: 2px;
  border-radius: 2px;
  font-size: 1rem;
}
.search-btn:hover {
  background-color: #ff9024;
}
.fa-search {
  color: #fffefe;
  padding: 10px;
}
.main-content {
  /* max-width: 90%; */
  margin: 0 auto;
}
.main-content h2 {
  padding-left: 15px;
}
.main-content p {
  /* max-width: 90%; */
  line-height: 1.3;
  padding: 0 15px;
  width: 100%;
  margin-top: 10px;
}
.main-content img {
  max-width: 100%;
  margin-top: 15px;
  border-radius: 5px;
}
#teachers img {
  border: 1px solid #333;
}
.education-content,
.exhibition-content,
.events-content,
.visit-content,
.support-content {
  margin-bottom: 20px;
}
.visit-content iframe {
  margin-top: 10px;
}

/* To enable hover menus */
/* .dropdown:hover .dropdown-content{
    display: block;
} */

footer {
  background: #7acbe3;
  display: flex;
  justify-content: center;
  color: #000;
}
.footer ul {
  margin: 0;
}
.footer-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #030303;
}
.footer p {
  padding-bottom: 5px;
}
.signup-form {
  max-width: 200px;
  float: left;
}
.footer-nav {
  margin: 20px 0;
}
.footer-category {
  margin: 20px 0 7px 0;
  text-transform: uppercase;
}
.signup-form input[type="text"],
.signup-form input[type="email"] {
  background-color: #fffefe;
  color: #303030;
  max-width: 130px;
  padding-left: 2px;
}
.signup-form input[type="text"]:focus,
.signup-form input[type="email"]:focus {
  color: #303030;
}
.footer {
  margin: 0 auto;
}
.footer-content {
  max-width: 80%;
}
.footer-nav ul {
  list-style-type: none;
}
.footer-nav ul li {
  display: inline-flex;
}
.footer-nav ul li a {
  color: #303030;
  margin-right: 5px;
  margin-left: auto;
  text-decoration: none;
}
.footer-nav ul li a:hover {
  text-decoration: underline;
  color: #e18326;
}
.footer a {
  color: #303030;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.fa-twitter,
.fa-facebook,
.fa-instagram {
  font-size: 1rem;
  margin-right: 5px;
}
@media screen and (min-width: 720px) {
  body {
    font-size: 1rem;
  }
  .site-header {
    flex-direction: row;
    justify-content: space-between;
  }
  .site-header h1 {
    margin-top: 10px;
    font-size: 1.8rem;
  }
  .wrapper h1 {
    font-size: 2rem;
    flex: 0 0 100%;
  }
  .fa-bars {
    display: none;
  }
  .item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .navbar {
    display: inline-flex;
  }
  .visible ~ .dropdown {
    margin-top: 35px;
    display: block;
    color: #205f6d;
    background: #fffefe;
  }
  .sidebar {
    display: flex;
    flex-direction: column;
  }
  .search {
    font-size: 0.9rem;
  }
  .search-field {
    font-size: 0.8rem;
    height: 22px;
    max-width: 100px;
  }
  .search-btn {
    font-size: 1.1rem;
    top: 2px;
  }
  .main-content {
    max-width: 90%;
    margin: 0 auto;
  }
  .main-content p {
    line-height: 1.4;
    margin: 20px 0;
  }
  .home .main-content img {
    /*    width: 116%;
    margin-left: -8%; */
  }
  .sidebar {
    flex: 1;
    order: 1;
  }
  footer {
    min-height: 130px;
  }
  .footer-content {
    margin: 10px 25px 15px 0;
    line-height: 1.1rem;
    padding: 25px;
    flex-direction: row;
    justify-content: center;
  }
  .footer-category {
    margin: 0 15px 0 30px;
  }
  .footer-nav {
    margin: 1px;
    margin-left: 10px;
  }
  .footer-nav li {
    padding-bottom: 5px;
  }
}
@media screen and (min-width: 960px) {
  body {
    font-size: 1.1rem;
  }
  .site-header {
    max-width: 1160px;
    margin: 0 auto;
  }
  .site-header h1 {
    margin-top: 15px;
    font-size: 2rem;
  }
  .navbar {
    display: inline-flex;
    margin-top: 15px;
  }
  .main-content {
    max-width: 70%;
    margin: 0 auto;
  }
  .wrapper h1 {
    font-size: 2.5rem;
  }
  .sidebar {
    margin-top: 20px;
  }
  .search {
    margin-right: 25px;
  }
  .search-field {
    padding: 5px;
    font-size: 0.7rem;
  }
  .search-btn {
    font-size: 1.3rem;
    padding: 0px 5px;
    top: 3px;
    margin: 10px 0;
  }
  .signup-form input[type="text"],
  .signup-form input[type="email"] {
    max-width: 150px;
  }
}
