/* --- Clearfix for floated Elements --- */

/* I never ended up using this for the nav-bar */
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.small-caps {
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 0.7rem;
}

.bolder {
  font-weight: bolder;
}

.lighter {
  font-weight: lighter;
}

.text-center {
  text-align: center;
}

.site-logo {
  width: 100%;
  text-align: left;
  padding-left: 30px;
}
.site-logo img {
  width: 120px;
}

/* --- Elements --- */

.container {
  max-width: 1200px; /* max 'width' of contents of site */
  margin: 0 auto; /* centered horizontally  */
}

.nav-bar {
  position: relative;
  top: 0;
  width: 100%; /* full width */
  background-color: #015a62;
  height: 65px;
  z-index: 99999 !important;
}

.nav-bar .container1 {
  display: flex;
  align-items: center; /* vertically center */
  height: 100%;
}

/* Hide checkbox that controls Mobile Nav Button*/
#drop-down-cbox {
  display: none;
}

/* Mobile Nav Button */
#drop-down-cbox + label {
  cursor: pointer;
  right: 20px;
  position: relative;
  display: none;
  width: 60px;
  height: 60px;
  overflow: hidden;
  background-color: transparent;
  transition: all 10ms ease-in-out;
}

/* Mobile Nav Button Bars */
#drop-down-cbox + label span {
  position: absolute;
  display: block;
  background-color: #fff;
  width: 34px;
  height: 4px;
  border-radius: 2px;
  left: 50%;
  transform: translate(-50%, -50%); /* centering trick */
  transition: all 300ms ease-in-out;
}

/* Mobile Nav Button Bars Invididually */
#drop-down-cbox + label span:nth-child(1) {
  top: 35%; /* evenly spaced */
}
#drop-down-cbox + label span:nth-child(2) {
  top: 50%; /* evenly spaced */
}
#drop-down-cbox + label span:nth-child(3) {
  top: 65%; /* evenly spaced */
}

/* Mobile Nav Button Styling for Checked */
#drop-down-cbox:checked + label {
}

#drop-down-cbox:checked + label span {
  background-color: white;
}

/* Transform the bars into an 'X' */
#drop-down-cbox:checked + label span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg); /* center, then rotate */
}
#drop-down-cbox:checked + label span:nth-child(2) {
  left: -150%; /* move center bar out of the picture */
}
#drop-down-cbox:checked + label span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg); /* center, then rotate */
}

/* Main Nav Desktop */
.main-nav {
  z-index: 999 !important;
  flex-grow: 1; /* fill remaining space */
  /*	display: flex;*/
  justify-content: space-around; /* evenly space items */
  align-items: center; /* center vertically */
}

/* Tablet and Mobile View */
@media (max-width: 1600px) {
  .site-logo {
  }

  #drop-down-cbox + label {
    display: block; /* unhide the mobile nav button */
  }

  .main-nav {
    max-height: 0px; /* same vertical grow transition trick as above */
    z-index: 999 !important;
    overflow: hidden;
    position: absolute;
    top: 65px;
    line-height: auto;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #036a73;
    transition: all 500ms ease-in-out;
  }

  #drop-down-cbox:checked ~ .main-nav {
    max-height: calc(100vh - 60px);
    transition: all 500ms ease-in-out;
  }

  .main-nav li span {
    position: relative;
  }

  /* design and position downward arrow */
  .main-nav li span:after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    margin-left: 8px;
    transform: translateY(-50%) rotate(-45deg);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
  }

  .main-nav li a:hover,
  .main-nav li span:hover {
    background-color: #015a62;
    color: white;
    border-bottom: none;
  }

  .main-nav li > ul li {
    position: relative;
  }

  .main-nav li > ul li a,
  .main-nav li > ul li span {
    background-color: #015a62;
    border-top: solid 1px #015a62;
  }
}

.main-nav li > ul li a:hover {
  background: #eb9c35;
}

/* Set the style for the navigation menus */
.main-nav nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-nav nav a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-transform: capitalize;
  padding: 1rem;
  transition: background 0.5s;
  display: block;
  outline: 0;
}

.main-navnav a:hover,
.main-navnav li:focus-within > a {
  background: #245975;
  cursor: pointer;
}

/* Make the dropdown animate. */
.main-nav .dropdown-content {
  min-width: fit-content;
  overflow: hidden;
  max-height: 0;
  transition: max-height 1s;
}

/* The max-height should be set to something that will always be a little bit bigger than the height of the content. */
.main-nav .dropdown:hover .dropdown-content,
.main-nav .dropdown:focus .dropdown-content,
.main-nav .dropdown:focus-within .dropdown-content {
  max-height: 300px;
  background: #000;
}

.main-nav nav {
  display: contents;
}

.mobile-foter {
  width: 460px;
  margin: 30px auto;
  padding-bottom: 50px;
}
.mobile-foter-left {
  float: left;
  width: 50%;
  padding-right: 10px;
}
.mobile-foter-right {
  float: right;
  width: 50%;
  padding-left: 10px;
}

.mobile-header-left {
  float: left;
  width: 33.3%;
  text-align: left;
}
.mobile-header-left-new {
  float: left;
  width: 33.3%;
  text-align: center;
}

.mobile-header {
  width: 600px;
  margin: 30px auto;
}
.mobile-header-left li > ul li a {
  text-align: left !important;
}
.mobile-header-left nav a {
  text-align: left !important;
}

.mobile-header-left .main-nav nav a {
  font-size: 18px;
}

.mobile-header-left a {
  color: #fff;
}
.mobile-header-left a {
  color: #fff;
  text-transform: capitalize;
  font-size: 18px;
}

.adj {
  margin-top: 15px;
}
.adj a:hover {
  color: #cc0066;
}

.txt-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.wid-50 {
  float: left;
  width: 50%;
  text-align: center;
  margin-top: 18px;
}

.mobile-header {
  width: 560px;
}

.mobile-header-left {
  float: left;
  width: 66.6%;
  text-align: center;
}
.mobile-header-left-new {
  float: left;
  width: 33.3%;
  text-align: left;
  padding-left: 10px;
}

.adj a {
  padding: 0px 0px;
}
.mobile-foter-right {
  padding-left: 0px;
}
.mobile-foter {
  width: 100%;
  padding-right: 20px;
}
.txt-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

@media (max-width: 767px) {
  .mobile-header {
    width: 100%;
  }

  .mobile-header-left {
    float: left;
    width: 64%;
    text-align: center;
  }
  .mobile-header-left-new {
    float: left;
    width: 36%;
    text-align: left;
    padding-left: 10px;
  }

  .mobile-header-left-new {
    text-align: justify;
  }

  .adj a {
    padding: 0px 0px;
  }
  .mobile-foter-right {
    padding-left: 0px;
  }
  .mobile-foter {
    width: 100%;
    padding-right: 20px;
  }
  .txt-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .mobile-foter-left {
    padding-right: 0px;
  }

  .mobile-header-left-new .dropdown-content {
    width: 200px;
  }
}
