/* Font import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* CSS reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Corrects `block` display not defined in IE6/7/8/9 & FF3 for HTML5 elements.*/
nav,
main,
footer {
  display: block;
}

/* Body base styling */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: #000;
  background-color: #dcdcdc;
}

/* Headings base styling */
h1,
h2 {
  font-weight: bold;
  text-align: center;
}

h1 {
  font-size: 1.5rem;
  color: #003e87;
  line-height: normal;
}

@media screen and (min-width: 670px) {
  h1 {
    font-size: 2rem;
  }
}

@media screen and (min-width: 865px) {
  h1 {
    font-size: 2.3rem;
  }
}

@media screen and (min-width: 1060px) {
  h1 {
    font-size: 2.5rem;
  }
}

h2 {
  font-size: 1.5rem;
  color: #003e87;
  margin: 20px 0 10px;
}

@media screen and (min-width: 550px) {
  h2 {
    font-size: 2.2rem;
  }
}

h3 {
  font-weight: bold;
  color: #003e87;
  font-size: 1.75rem;
}

h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #000;
}

/* Paragraph base styling */
p {
  margin: 10px 0 15px;
}

/* Lists base styling */
ul {
  list-style-type: square;
  padding-left: 1rem;
  margin-bottom: 15px;
}

ol li {
  margin: 10px 0 15px;
}

/* Link base styling */
a {
  text-decoration: none;
}

/* Inline link styling */
.hyperlink {
  color: #3030f1;
  word-break: break-word;
}

/* Image base styling */
img {
  width: 100%;
}

/* Address base styling */
address {
  font-style: normal;
}

/* Fee table styling */
table {
  margin-bottom: 15px;
  width: 100%;
}

table, th, td {
  background: #fff;
  padding: 5px 10px;
  border: 1px solid #000;
  border-collapse: collapse;
}

/* Button base styling */
.btn {
  display: inline-block;
  margin: 15px 0 10px;
  padding: 10px 30px;
  font-size: 1rem;
  font-weight: bold;
  border: 3px solid #003e87;
  border-radius: 30px;
  cursor: pointer;
  background: #003e87;
  color: #fff;
  transition: all .3s linear;
}

.btn:hover {
  border: 3px solid #003e87;
  background: #fff;
  color: #003e87;
}

.content-wrapper {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

/* Header and Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 6px 9px #000;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

@media (min-width: 990px) {
  header {
    padding: 0.9rem 4rem 0.6rem;
  }
}

@media (max-width: 990px) {
  header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 6px 9px #000;
    display: none;
  }
}

/* Logo / letterhead */
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 30px;
}

@media (min-width: 990px) {
  .logo {
    width: 40px;
  }
}

@media (min-width: 1035px) {
  .logo {
    width: 50px;
  }
}

@media (min-width: 1095px) {
  .logo {
    width: 60px;
  }
}

@media (min-width: 1160px) {
  .logo {
    width: 70px;
  }
}

.letterhead {
  font-family: "Times New Roman", 'Times New Roman', Times, serif;
  font-weight: bold;
  color: #003e87;
  font-size: 0.9rem;
  z-index: 1;
}

@media (min-width: 350px) {
  .letterhead {
    font-size: 1.1rem;
  }
}

@media (min-width: 1035px) {
  .letterhead {
    font-size: 1.3rem;
  }
}

@media (min-width: 1095px) {
  .letterhead {
    font-size: 1.6rem;
  }
}

@media (min-width: 1160px) {
  .letterhead {
    font-size: 1.9rem;
  }
}

/* Navbar menus */
header nav .menu,
header nav .submenu {
  list-style: none;
}

header nav .submenu {
  padding-left: 0;
}

header nav .menu {
  display: flex;
  margin: 0;
}

header nav .menu .nav-item {
  position: relative;
}

@media (max-width: 990px) {
  header nav .menu {
    flex-direction: column;
  }
}

.submenu-dropdown {
  cursor: pointer;
}

header nav .nav-item a,
.submenu-dropdown {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  font-weight: bold;
}

header nav .nav-item a:hover,
header nav .menu-btn:hover,
.submenu-dropdown:hover {
  background: #003e87;
  color: #fff;
}

@media (min-width: 990px) {
  header nav .nav-item a:hover,
  .submenu-dropdown:hover {
    background: transparent;
    color: #003e87;
  }
}

#active-nav .active-link {
  color: #fff;
  background: #003e87;
}

@media (min-width: 990px) {
  #active-nav .active-link {
    color: #003e87;
    text-decoration: underline;
    background: transparent;
  }
}

header nav .menu .nav-item .submenu {
  position: absolute;
  left: 0;
  width: 200px;
  background: #fff;
  display: none;
}

@media (max-width: 990px) {
  header nav .menu .nav-item .submenu {
    position: relative;
    width: 100%;
  }
}

header nav .menu .nav-item .submenu .nav-item {
  width: 100%;
}

@media (max-width: 990px) {
  header nav .menu .nav-item .submenu .nav-item {
    background: #eee;
  }
}

@media (min-width: 990px) {
  header nav .menu .nav-item:focus-within>.submenu,
  header nav .menu .nav-item:hover>.submenu {
    display: initial;
  }
}

#fees-submenu-item, #policies-submenu-item {
  display: none;
}

#fees-submenu-item:checked~.submenu, #policies-submenu-item:checked~.submenu {
  display: initial;
}

/* Menu icon */
header .menu-icon {
  cursor: pointer;
  padding: 25px 20px;
  position: relative;
  user-select: none;
}

@media (min-width: 990px) {
  header .menu-icon {
    display: none;
  }
}

header .menu-icon .navicon {
  background: #003e87;
  display: block;
  height: 3px;
  position: relative;
  transition: background .2s ease-out;
  width: 20px;
}

header .menu-icon .navicon:before,
header .menu-icon .navicon:after {
  background: #003e87;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

header .menu-icon .navicon:before {
  top: 6px;
}

header .menu-icon .navicon:after {
  top: -6px;
}

/* Menu button */
#menu-btn {
  display: none;
}

#menu-btn:checked~nav {
  display: initial;
}

#menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

#menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

#menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

#menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
#menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* Body content container  */
main {
  padding: 4rem 1rem 4rem;
  min-height: 100vh;
  background: #dcdcdc;
}

#home-page-wrapper {
  padding: 2rem 2rem 2rem;
  min-height: 70vh;
}

@media screen and (min-width: 950px) {
  main {
    padding: 8rem 1rem 4rem;
  }

  #home-page-wrapper {
    padding: 4rem 2rem 4rem;
  }
}

.content-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (min-width: 320px) {
  .content-wrapper {
    padding: 0 10px;
  }
}

/* Footer */
footer {
  background: #1d1a1a;
  font-size: 1rem;
  height: 100%;
}

.ft-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 35px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 50px;
}

@media screen and (min-width: 760px) {
  .ft-wrapper {
    flex-direction: row;
    gap: 45px;
  }
}

@media screen and (min-width: 840px) {
  .ft-wrapper {
    gap: 55px;
  }
}

@media screen and (min-width: 930px) {
  .ft-wrapper {
    gap: 100px;
  }
}

.ft-contact,
.ft-services,
.ft-copyright {
  color: #fff;
  line-height: 1.8em;
}

.ft-contact h3,
.ft-services h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #fff;
}

.ft-contact {
  padding-top: 5rem;
}

.ft-services,
.ft-accreditation {
  padding-top: 0;
}

.iframe-container {
  max-width: 275px;
  max-height: 163px;
  position: relative;
  height: 0;
  padding-top: 60%;
  overflow: hidden;
}

.iframe-container::before {
  content: "****************************************";
  display: block;
  padding-bottom: 100%;
}

.iframe-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ft-accreditation .iframe-wrapper iframe {
  border: 0;
  margin: 0;
  padding: 0;
  background-color: transparent;
  width: 100%;
  height: 100%;
  position: absolute;
}

@media screen and (min-width: 760px) {

  .ft-services,
  .ft-accreditation {
    padding-top: 5rem;
  }
}

.ft-services ul {
  list-style-type: none;
  padding-left: 0;
}

.ft-copyright {
  text-align: center;
  padding: 2rem 0 1rem;
}