@import url("https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Poppins:400,600&display=swap");

body {
  /*line-height: 1.2;*/
  font-family: "Poppins", sans-serif;
  letter-spacing: 1px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 400;
}

a,
a:active,
a:focus,
a:hover {
  color: black;
  text-decoration: none;
}

#header .nav-link {
  color: #000000;
  font-weight: 100;
  transition: all 0.15s;
}

#header .nav-link:hover {
  color: #434343;
  transition: all 0.15s;
}

@media (min-width: 992px) {
  #header .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/*
h1,
#after-main h3 {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}
*/

.btn {
  border-radius: 0px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1em;
  padding: 8px 24px;
}

.btn,
.btn-primary {
  color: #fff;
  border-color: #1c89cc;
  background-color: #1c89cc;
}

.btn:hover,
.btn-primary:hover {
  background: #013c57;
  border-color: #1c89cc;
  color: #fff;
}

/*#right-content {
  height: 100vh;
}*/

#right-content .background {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -75px;
  bottom: 50px;
  left: 0;
  right: 0;
  background-image: url("../img/default-banner.png");
}

.category-2 #right-content .background {
  background-image: url("../img/news.png");
}

.basic #right-content .background,
.accordion #right-content .background,
.category #right-content .background {
  left: -75%;
}

#navbarspacer {
  display: none !important;
}

#show-action {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 100;
}

#show-action .action {
  width: 10vw;
  height: 10vw;
  line-height: 10vw;
  text-align: center;
  display: block;
  color: #ad1e22;
  padding: 0 1.5em;
  background-color: #ffffff;
  text-transform: uppercase;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
  font-weight: bold;
}

#show-action .action span {
  line-height: 1.2em;
  display: inline-block;
  vertical-align: middle;
}

#show-action .action + .action {
  color: #ffffff;
  background-color: #183685;
  -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
  -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
  box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.54);
}

#header {
  background: url("../img/grad.png");
  background-position: bottom left;
  background-repeat: repeat-x;
  transition: all 0.15s;
}

/*
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: #000;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
}

#after-main h4 {
    font-weight: 700;
}
*/

#header .nav-item {
  color: #000;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
}

/*.block-button*/
#before-footer {
  background: #ac1714;
  padding: 45px;
  text-align: center;
}

#footer {
  background: #212121;
  color: #fff;
  h4 {
    color: #fff;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  a {
    color: #fff;
    font-weight: 300;
    line-height: 1.4;
  }
}

#footer ul li a {
  color: #fff;
  font-weight: 300;
  line-height: 1.4;
}

#footer p,
#footer ul li {
  padding-bottom: 3px;
}

#footer ul li a i {
  padding-right: 8px;
}

#footer h5 {
  padding-bottom: 5px;
  font-weight: 800;
  font-size: 20px;
}

.items-list.layout-basic a.link-block {
  color: #183685;
}

.items-list.layout-basic .overlay {
  background: url("../img/grad2.png") repeat-x bottom left;
}

/**
*********************************************
***** Category Styles
 */

.category-items {
  margin-top: 75px;
  margin-bottom: 75px;
}

.category-item {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.125);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.125);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.125);
  background-color: white;
  padding: 15px;
  margin-bottom: 30px;
}

.category-item .intro {
  min-height: 4.8em;
  margin-top: 1em;
  margin-bottom: 3em;
}

/**
***** Category Styles
*********************************************
 */

/**
*********************************************
***** Accordion Layout
 */

.accordion .card {
  margin-bottom: 30px;
}

.accordion #yield-right {
  position: relative;
  z-index: 10;
  /* margin-top:50vh; */
}

.accordion .card {
  border: none;
}

.accordion .card-header {
  padding: 0;
  border: none;
  border-radius: 0;
}

.accordion .card-header a {
  display: block;
  padding: 0.667em;
  font-size: 1em;
  cursor: pointer;
  border-left: 5px solid #1c89cc;
  background: #1c89cc;
  color: #fff;
  text-transform: uppercase;
  font-weight: 100;
}

/*.basic #right-content,
.accordion #right-content,
.item-7 #right-content {
  height: 55vh;
}*/

/**
***** Accordion Layout
*********************************************
 */

/**
*********************************************
***** Blurb Widget
 */
.block-blurb {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.block-blurb .block-content {
  position: relative;
}

.block-blurb .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(24, 54, 133, 0.45);
}

.block-blurb.has-bg-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.block-blurb {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

.block-button .block-title,
.block-blurb .block-title {
  font-weight: bold;
  font-size: 2em;
  min-height: 2.4em;
  max-width: 8em;
  margin: 0 auto;
  margin-bottom: 1.2em;
}

.block-button .block-title {
  max-width: 100%;
  min-height: 0;
  color: white;
}

.block-button .btn,
.block-blurb .btn {
  background: white;
  color: #183685;
}

.block-button.btn:hover,
.blo-wrapck-blurb .btn:hover {
  background: #183685;
  color: white;
}

.block-form .text p {
  display: block;
  padding: 0.667em;
  border-left: 5px solid #183685;
}

.block-form .label-wrap {
}

.block-form .input-wrap {
  width: 100%;
}

.block-form textarea {
  min-height: 9em;
}

/**
***** Blurb Widget
*********************************************
 */
#show-action .action {
  padding: 0 1em;
}

#show-action .action span {
  font-size: 0.8em;
}

@media (min-width: 992px) {
  #left-content {
    order: 1;
  }

  #right-content {
    order: 2;
  }

  #after-main {
    padding-top: 150px;
    padding-bottom: 330px;
    background-image: url("../img/farm.png");
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .item-7 #after-main {
    padding-top: 0;
  }
}

.container-fluid {
  padding-left: 30px;
  padding-right: 30px;
}

@media (min-width: 1366px) {
  .container-fluid {
    padding-left: 3vw;
    padding-right: 3vw;
  }

  #main .container-fluid {
    padding-right: 15px;
  }
}

@media (min-width: 1450px) {
  .container-fluid {
    padding-left: 10vw;
    padding-right: 10vw;
  }

  #main .container-fluid {
    padding-right: 15px;
  }
}

@media (max-width: 991px) {
  #show-action {
    display: none;
  }

  #right-content {
    min-height: 250px;
  }

  #right-content .background {
    background-size: 200%;
  }
}

#left-content table {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.24);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.24);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.24);
  border: none;
  border-radius: 15px;
}

#left-content table td {
  padding: 30px 15px;
  border: none;
}

#left-content table td img {
  width: 20px;
  height: auto;
}

#amie-members-list {
  width: 100%;
}

#amie-members-list td {
  padding: 0.667em;
}

#amie-members-list .category-title td {
  font-size: 1.2em;
  cursor: pointer;
  border-left: 5px solid #183685;
  background-color: rgba(0, 0, 0, 0.03);
}

#amie-members-list {
  margin-bottom: 75px;
}

.facebook,
.twitter {
  color: #ffffff;
  font-size: 24px;
  margin: 10px;
  display: inline-block;
}

#footer h5 {
  color: #f8f9fa;
}

#footer img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  float: left;
}

#footer .block-menu a:hover {
  color: #1c89cc;
}

#members-list .member:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.03);
}

#members-list .member:hover {
  background-color: rgba(0, 0, 0, 0.07);
  cursor: pointer;
}

#members-list .member .member-details {
  display: none;
}

/*
    #members-list .member.expanded .member-details {
        display:block;
    }
    #members-list .member.expanded .basic {
        display:none;
    }
*/

#members-list .member.expanded:nth-child(even),
#members-list .member.expanded:hover {
  background-color: transparent;
  cursor: initial;
}

#members-list h3 {
  position: relative;
  padding-right: 50px;
}

#members-list h3 .fa {
  position: absolute;
  top: 0;
  right: 0;
}

#members-list .member.expanded .member-details {
  padding: 0px 15px 50px 15px;
}

#members-list .member.expanded .member-details .col-md-12:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

#members-list .member.expanded .member-details .row > div:first-child {
  font-weight: bold;
}

/*-------------------------*/
.navbar-light .navbar-toggler {
  color: transparent;
  border-color: #1c89cc;
  border: 2px solid;
  background: transparent;
}

@media (max-width: 998px) {
  #header .nav-item:last-child a {
  }
}

@media (max-width: 500px) {
  .navbar {
    background: #efefef;
    box-shadow: none;
  }

  #left-content table[style] {
    width: 100% !important;
  }

  #form-start.block-wrapper.block-form {
    padding-bottom: 30px;
  }

  .block-form .text p {
    margin: 40px 0 45px 0;
  }
}

/*------------------------------------------------
 # Admaths Custom Styles
------------------------------------------------*/
body {
  font-family: "Poppins", sans-serif;
}

h5,
h3,
h2,
.showcase_content h5,
h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  padding-bottom: 15px;
}

#footer.pt-fold.pt-5.pb-5 {
  padding-bottom: 3rem !important;
  padding-top: 6rem !important;
}

#page__content h1 {
  margin-top: 2em;
}

#main .about_admaths_content h1,
#footer h5,
.showcase_content h5,
#main .legal_content h5,
#main .showcase_title h1,
#page__header h1,
#page__content h1,
.showcase_title h2 {
  position: relative;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-rendering: optimizeLegibility !important;
}
.showcase_title h2 {
  margin-top: 30px;
}
#site_copyright {
  background: #d22429;
  padding: 20px 0 9px 0;
  text-align: center;
}

#site_copyright p {
  color: #fff;
  font-size: 1rem;
}

#footer ul li {
  color: #fff;
  font-size: 14px;
  font-weight: normal;
}

#main .about_admaths_content h1:before,
#footer h5:before,
#main .showcase_content h5:before,
#main .legal_content h5:before,
#main .showcase_title h1:before,
#page__content h1:before,
.showcase_title h2:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 58px;
  height: 7px;
  background-color: #1c89cc;
  top: -30px;
}

.showcase_title h2:before {
  top: -10px;
  height: 5px;
  width: 42px;
}

#main .showcase_content h5:before {
  background-color: #fff;
}

@media all and (max-width: 990px) {
  #footer h5 {
    margin-top: 30px;
  }
}

#site_top_notes.alert-primary {
  color: #fff;
  background-color: #1c89cc;
  border-color: #1c89cc;
  border-radius: 0px;
}

#site_top_middle {
  /* padding: 20px 0; */
  padding: 0;
}

#site_top_middle ul.top_cta_links {
  list-style: none;
}

#site_top_middle img {
  /*width: 61%;*/
  width: 230px;
  @media screen and (max-width: 440px) {
    width: 100%;
  }
}

@media (max-width: 1280px) {
  #site_top_middle img {
    width: 165px;
  }
}

#site_top_middle ul li {
  list-style: none;
  display: inline-block;
}

#site_top_middle ul li a.btn {
  border-radius: 0px;
  background-color: #434343;
  border-color: #434343;
  color: #fff;
  font-size: 12px;
  padding: 0.375rem 0.75rem;
}

#site_top_middle ul li a.btn,
a.btn_back,
.btn,
.btn-primary {
  border-radius: 0px;
  background-color: #434343;
  border-color: #434343;
  color: #fff;
  font-size: 15px;
  padding: 12px 25px;
  margin-left: 6px;
  font-weight: 300;
}

#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #efefef;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
  @media screen and (min-width: 769px) {
    .dropdown:hover > .dropdown-menu {
      display: block;
    }
    /* Optional: Prevent the dropdown toggle from being clickable when hovering */
    .dropdown > .dropdown-toggle:active {
      pointer-events: none;
    }
  }
  .dropdown-menu {
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
  }
}

#left-content[style] {
  padding-top: 0px !important;
}

#main .showcase_content {
  padding: 2em;
  margin-top: 1em;
  /* color: #fff !important; */
  background: white;
  margin-bottom: 1em;
}
@media (min-width: 1025px) {
  #main .showcase_content {
    min-height: 550px;
  }
}

.show_left_bg {
  background: #1c89cc;
}

.show_right_bg {
  background: #9da3a6;
}

#main .showcase_cta a {
  border-radius: 0px;
  border-color: #fff;
  background: #fff;
  color: #434343;
  padding: 12px 25px;
}

#main .showcase_cta a:nth-child(2) {
  border-radius: 0px;
  border-color: #fff;
  background: #434343;
  color: #fff;
}

#main .show_right_bg .showcase_cta a:nth-child(2) {
  border-radius: 0px;
  border-color: #fff;
  background: transparent;
  color: #fff;
}

#main.testimonials {
  background: #073b57;
}

#main.testimonials .testim_content {
  color: #fff;
  padding: 60px 60px 45px 60px;
}

#main .about_admaths_content {
  padding: 5em 0;
}

.skin-blue .main-header .navbar {
  background: #434343 !important;
}

.skin-blue .main-header .logo {
  background: #434343 !important;
}

#main .show_right_bg .showcase_cta a:nth-child(1) {
  color: #9da3a6;
}

#page__header {
  color: white;
  text-shadow: 0 0 5px rgb(0, 0, 0);
}

#page__header.title-type-1 {
  color: #212121;
  text-shadow: 0 0 5px rgb(137, 137, 137);
}

#page__header h1 {
  font-weight: 900 !important;
}

#page__header h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 69px;
  height: 7px;
  background-color: #434343;
  top: 39px;
}

/**----------------------------------
 # Staff Members
*----------------------------------*/
#staff .staff_member {
  text-align: center;
  margin-bottom: 25px;
}

#staff .staff_member p {
  color: #212529 !important;
  font-size: 16px;
  font-weight: 500;
}

#staff .staff_member h3 {
  padding-top: 15px;
  color: #1c89cc;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/**----------------------------------
 # Testimonials
*----------------------------------*/
#main .testimonial_item .test_per {
  font-weight: 700;
}

#main .testimonial_item {
  position: relative;
  padding-bottom: 30px;
  margin-bottom: 50px;
}

#main .testimonial_item:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 69px;
  height: 7px;
  background-color: #434343;
  /*top: 39px;*/
}

#main .legal_cta a {
  border-radius: 0px;
  border-color: #fff;
  background: #434343;
  color: #fff;
  padding: 12px 25px;
  font-weight: 300;
}

#main .legal_content h5 {
  font-weight: 700;
  font-size: 25px;
}

#main .legal_content {
  padding: 6em 0;
}

#main .legal_content ul li a {
  color: #434343;
}

#main .legal_content ul li {
  line-height: 1.8;
}

#page__header {
  background: url("../img/bg.png");
  background-size: cover;
  min-height: 18vw;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.homepage#main {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#carouselExampleIndicators.carousel.slide {
  /*background: #0E2231!important;*/
  background: #434343 !important;
  font-family: "Poppins", sans-serif;
}

/*-------------------------------------------------------------------
#       Hero Section
--------------------------------------------------------------------*/
.carousel-item {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 275px;
}

.carousel-caption {
  position: absolute;
  /*right: 15%;*/
  bottom: 20px;
  top: 20px;
  left: 15%;
  z-index: 10;
  text-align: left;
  padding: 0em 0 2em 0;
  font-family: "Poppins", sans-serif;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/**
Issue with height fixed
 */
@media (max-width: 1279px) {
  .carousel-caption {
    position: relative;
    left: 0;
    margin: 0 15% 0 15%;
    padding: 1em 0 3em 0;
  }

  .carousel-item {
    height: auto;
  }
}

.caption-inner {
  display: block;
}

.carousel-caption h3 {
  margin: 30px 0 0 0;
  font-family: "Poppins", sans-serif;
}

.carousel-caption h3 {
  font-size: 19px;
  line-height: 1.2;
  color: white;
  font-weight: 400;
}

.carousel-caption p {
}

.carousel-caption .caption-title {
  font-size: 0.9em;
  text-align: right;
  display: block;
  font-style: italic;
}

.item {
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  width: 100%;
  height: 100%;
  position: relative;
  letter-spacing: normal;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  width: 40px;
  height: 40px;
}

.list-group-item:first-child {
  border-top-left-radius: 0rem;
  border-top-right-radius: 0rem;
}

.list-group-item {
  border: 0px;
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.badge_one,
.badge_two {
  color: #212529;
  background-color: #fd7e14;
  border-radius: 0.5em;
  font-size: 1em;
  margin-right: 7px;
  width: 1em;
  height: 1em;
  display: inline-block;
  line-height: 1em;
  vertical-align: middle;
  margin-top: -2px;
}

.badge_two {
  background-color: #17a2b8;
}

.table .thead-dark th {
  color: #fff;
  background-color: #1c89cc;
  border-color: #1c89cc;
}

h3.form-step {
  text-align: center;
  font-family: "Poppins", sans-serif !important;
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 300;
}

.block-form .form-control {
  height: calc(2.5em + 0.75rem + 2px);
  border: 1px solid #ccc;
  border-radius: 0px;
}

.block-form .col-form-label {
  font-size: 19px;
}

#contact_btn .btn-primary {
  border-radius: 0px;
  background-color: #1c89cc;
  border-color: #1c89cc;
  color: #fff;
  font-size: 20px;
  padding: 12px 25px;
  margin-left: 6px;
  letter-spacing: 2px;
  width: 50%;
  display: block;
  margin-bottom: 1em;
}

#contact_btn {
  margin-top: 5em;
}

@media (max-width: 500px) {
  #contact_btn .btn-primary {
    width: 100%;
  }
}

nav .dropdown-menu {
  top: 80%;
  @media screen and (max-width: 768px) {
    top: 100%;
  }
  color: #000000;
  background-color: #e3e3e3;
  background-clip: padding-box;
  border: 1px solid #e3e3e3;
  border-radius: 0rem;
  border-top: 10px solid #d22429;
  border-radius: 10px;
}

nav .dropdown-item {
  color: #000000;
  padding: 1rem;
}

nav .dropdown-item:focus,
nav .dropdown-item:hover {
  color: #202020;
  text-decoration: none;
  background-color: #c6d2d9;
}

#accordion.accordion .card-header {
  position: relative;
}

#accordion.accordion .card {
  position: relative;
}

#accordion.accordion .card-header a.collapsed:after {
  content: "+";
  color: #fff;
  font-weight: 900;
  font-size: 30px;
  position: absolute;
  right: 20px;
  bottom: 3px;
}

#accordion.accordion .card-header a:after {
  content: "-";
  color: #fff;
  font-weight: 900;
  font-size: 30px;
  position: absolute;
  right: 20px;
  bottom: 3px;
}

.block-form form button,
.block-form form button:focus {
  font-size: 19px;
  padding: 12px 25px;
  margin-left: 6px;
  font-weight: 300;
}

.side-step-guide {
  background: #9da3a6;
  padding: 20px;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  word-break: normal;
}

.side-step-guide h4 {
  font-size: 25px;
  font-weight: 600;
}

.side-step-guide.current-step {
  background: #008ccc;
}

.side-step-guide.spec-chars {
  background: #013c57;
}

.block-form .progress {
  margin-bottom: 15px;
}

#site_top_middle h5 {
  display: none;
}

#site_top_middle ul.list-unstyled li a {
  border-radius: 0px;
  background-color: #434343;
  border-color: #434343;
  color: #fff;
  font-size: 16px;
  padding: 12px 25px;
  margin-left: 6px;
  font-weight: 300;
  border-radius: 10px;
  text-transform: uppercase;
  &.red-btn {
    /* background-color: #d22429; */
    /* border-color: #d22429; */
    background: linear-gradient(to right, #f3444a, #ed1c24);
  }
}
#site_top_middle ul.list-unstyled li a:hover {
  background-color: #013c57;
}

#site_top_middle .menu-vertical {
  padding: 0 !important;
}

#site_top_middle ul.top_logo_links li a,
#site_top_middle ul.top_logo_links li span {
  display: block;
  vertical-align: middle;
}

.block-form #form-group-16 input#input-16 {
  margin-bottom: 15px;
}

.block-form span.help-block {
  color: #dc3545;
}

.block-form label span.is-required {
  color: red;
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 0.5;
}

.listitem {
  position: relative;
  margin-bottom: 45px;
  padding-bottom: 45px;
}

.listitem:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 69px;
  height: 7px;
  background-color: #1c89cc;
}

.listitem-name {
  font-weight: bold;
  padding-left: 15px;
  font-size: 1em;
}

.item-1 #main {
  padding-top: 10em;
}

.input-label .input-wrap,
.input-checkbox .input-wrap {
  padding-top: calc(0.375rem + 1px);
  padding-bottom: calc(0.375rem + 1px);
  margin-bottom: 0;
  font-size: inherit;
  line-height: 1.5;
}

.input-checkbox .input-wrap label {
  display: block;
}

#form-group-79 .label-wrap {
  display: none;
}

#form-group-79 .input-wrap {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}
.form-step-wrapper {
  font-size: 32px;
  text-transform: uppercase;
}
.form-step-wrapper .sibling {
  font-size: 32px;
  background: #14a399;
  color: white;
  margin-bottom: 15px;
  padding: 0 15px;
}
.side-step-guide.current-step {
  padding: 0;
}
.side-step-guide.current-step > div {
  padding: 15px;
}

.side-step-guide.current-step .sibling {
  background: #14a399;
}

.form-step-wrapper h4 {
  display: inline-block;
  font-size: 1em;
}

.d-table {
  width: 100%;
}
.d-table-cell {
  text-align: center;
  padding: 10px;
  border-color: #008ccc;
  border-style: solid;
  border-width: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
}
.d-table-cell:first-child {
  border-left-width: 1px;
}
.table-thead .d-table-cell {
  background-color: #008ccc;
  color: white;
}

#class-access-container {
}
#main.centre-wrapper {
  position: relative;
}
#centre-open-box {
  display: none;
}

.form-group.is-required label .is-required {
  display: none;
}
.form-group.is-required .label-wrap label:after {
  content: "*";
  color: red;
}

.form-group#form-group-12 .label-wrap label:after {
  content: "*";
  color: red;
}

#footer ul {
  padding-left: 0;
  list-style: none;
}

#home-blocks-section a {
  border-radius: 0px;
  border-color: #fff;
  background: #fff;
  color: #1c89cc;
  padding: 12px 25px;
}

#home-blocks-section a + a {
  background: transparent;
  color: #fff;
}

#site_top_middle img#admathsjuniorlogo {
  width: 137px;
  margin-top: -22px;
}
#site_top_middle img#AdPhysics {
  margin-left: 15px;
  width: 260px;
  margin-top: -10px;
}
#site_top_middle img#IEB {
  width: 108px;
}

#site_top_middle img#IEB {
  width: 108px;
}

.accordion .card-header a[aria-expanded="true"] {
  background: #bf1e2e;
  border-color: #bf1e2e;
}

#site_top_middle ul.list-unstyled li a.logout {
  background: #bf1e2e;
  border-color: #bf1e2e;
}

@media (max-width: 768px) {
  #top-menu-buttons {
    height: 0;
  }
  #top-menu-buttons ul li {
  }
  #top-menu-buttons ul li + li {
    display: none;
  }
  #top-menu-buttons ul li:last-child {
    display: block;
  }
  #top-menu-buttons ul li:last-child a {
    position: absolute;
    right: 34px;
    bottom: -48px;
    z-index: 100000;
  }

  #top-menu-buttons ul li:first-child a {
    position: absolute;
    right: 111px;
    bottom: -48px;
    z-index: 100000;
  }
}

#form-group-90 > div > label:after,
#form-group-91 > div > label:after {
  display: none;
}
#form-group-90 .option-label:after,
#form-group-91 .option-label:after {
  content: "*";
  color: red;
}

#class-access-container .list-group-item {
  padding: 0.25rem 1.25rem;
  font-size: 0.9rem;
}
@media (min-width: 961px) {
  #top-menu-buttons ul {
    margin-top: 30px;
  }
}
#top-menu-buttons ul {
  float: right;
  padding-right: 5px;
}

.top_logo_links {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  @media screen and (max-width: 380px) {
    flex-direction: column;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
#site_top_middle > div > div > div {
  margin-left: 0;
  padding-left: 0;
}
@media (max-width: 1280px) {
  #site_top_middle ul.list-unstyled li a {
    padding: 12px;
  }
}

@media (max-width: 1150px) {
  #site_top_middle ul.list-unstyled li a {
    padding: 12px;
  }
}

.form-group.is-hidden {
  display: none;
}

.show-hidden-from-fields .form-group.is-hidden {
  display: block;
}
#site_top_middle {
  padding-bottom: 0;
}

#header .container-fluid,
#site_top_middle .container-fluid {
  /* padding-left: 4vw; */
  /* padding-right: 4vw; */
}
@media (max-width: 1449px) {
  #header .container-fluid,
  #site_top_middle .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
  }
}
@media (max-width: 1366px) {
  #site_top_middle ul.list-unstyled li a {
    padding: 12px;
  }
  #site_top_middle .menu-vertical {
    padding: 26px 0;
  }
  #header .container-fluid {
    padding: 0;
  }
}

@media (max-width: 1650px) {
  #site_top_middle ul.list-unstyled li a {
    padding: 8px;
    margin-left: 0;
  }

  #header .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
}

@media (max-width: 768px) {
  .top_logo_links {
    padding: 0;
  }
  .top_logo_links li {
    width: 100%;
    padding: 5px;
    margin: 0;
    float: none;
    text-align: center;
  }
  .top_logo_links li:first-child + li {
    text-align: center;
  }
  .top_logo_links li + li span {
    padding-right: 30px;
  }
  #site_top_middle img#admathsjuniorlogo {
    margin-top: 0px;
  }
}

@media (max-width: 991px) {
  table.responsive-table td {
    display: block;
  }
}

#header ul li:last-child a {
  background: linear-gradient(to right, #f3444a, #ed1c24);
  color: #ffffff;
  border-radius: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}
#header ul li:last-child:hover a {
  background: linear-gradient(to right, #ed1c24, #f3444a 80%);
  color: #ffffff;
}

.filter-state-all {
  background-color: #adadad;
}

.filter-state-active {
  background-color: #4dfe53;
}

.filter-state-graduated {
  background-color: #0349ee;
}

.filter-state-unpaid {
  background-color: #eed703;
}
.filter-state-inactive,
.filter-state-resigned {
  background-color: #ee03d6;
}

.filter-state-pending-resigned {
  background-color: #f39c11;
}

.filter-state-facilitator,
.filter-state-applied {
  background-color: #03c0ee;
}
.filter-state-facilitator-contact-teacher,
.filter-state-applied {
  background-color: #f39c12;
}
.filter-state-facilitator-and-contact-teacher,
.filter-state-applied {
  background-color: #f39c12;
}

.filter-state-pre-approved {
  background-color: red;
}

.filter-state-approved {
  background-color: #01a55c;
}

.filter-state-denied {
  background-color: #de4c3b;
}

.filter-state-denied-percent {
  background-color: #de4c3b;
}

.filter-state-terminated {
  background-color: #232323;
}

#site_top_middle ul li:first-child + li {
  /* margin-right: 15px; */
  /* margin-left: 15px; */
}

@media (max-width: 1100px) and (min-width: 992px) {
  #site_top_middle ul li:first-child + li + li {
    margin-top: 30px;
  }
}

#downloads-page-table td {
  vertical-align: middle;
}

#form-anchor-wrapper {
  position: relative;
}
#form-anchor-wrapper .form-anchor {
  position: absolute;
  top: -75px;
}

.form-group label {
}

.has-error input,
.has-error select {
  /* border: 2px solid red!important; */
  -webkit-box-shadow: 0px 0px 4px 0px rgba(217, 37, 37, 1);
  -moz-box-shadow: 0px 0px 4px 0px rgba(217, 37, 37, 1);
  box-shadow: 0px 0px 4px 0px rgba(217, 37, 37, 1);
  background: rgb(217 37 37 / 13%);
}

input[id^="_confirm_"] {
  margin-top: 13px;
}

.label-wrap > label {
  white-space: break-spaces;
}

body .form-step-wrapper + .progress {
  height: 2rem;
}

body .form-step-wrapper + .progress .progress-bar span:after {
  content: " complete";
  text-transform: uppercase;
}

#form-group-54 {
  display: none;
}

.adding-sibling #form-group-77,
.adding-sibling #form-group-78 {
  display: none !important;
}

@media (max-width: 991px) {
  .scroll-table {
    overflow-x: scroll;
    max-width: 100%;
    display: block;
  }
}

#class-access-table .tick {
  text-align: center;
}
#class-access-table th {
  background-color: #1c89cc;
  color: #ffffff;
  text-align: center;
}

#class-access-table .class-item {
  display: block;
}

#class-access-table tr.class-item-row:hover {
  background: rgba(0, 0, 0, 0.025);
  cursor: pointer;
}

.input-1_55.form-control option[value="18"],
.input-1_62.form-control option[value="18"],
.input-1_66.form-control option[value="18"] {
  display: none;
}

.item-16 .form-group#form-group-6 .label-wrap label:after,
.item-16 .form-group#form-group-13 .label-wrap label:after,
.item-16 .form-group#form-group-57 .label-wrap label:after {
  content: "*";
  color: red;
}

.form-group.locked .input-wrap:after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background: transparent;
  cursor: not-allowed;
  content: "";
}

.table-rows-wrapper {
  overflow-x: auto;
}

@media (min-width: 1651px) {
  #site_top_middle .container-fluid > .row > div {
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
  }

  #site_top_middle .container-fluid > .row > div + div {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }
}

@media (min-width: 1301px) and (max-width: 1650px) {
  #site_top_middle .container-fluid {
    padding: 0 15px 0 30px;
  }
}
@media (min-width: 1301px) and (max-width: 1450px) {
  #site_top_middle .container-fluid > .row > div {
    -ms-flex: 0 0 65%;
    flex: 0 0 65%;
    max-width: 65%;
  }

  #site_top_middle .container-fluid > .row > div + div {
    -ms-flex: 0 0 35%;
    flex: 0 0 35%;
    max-width: 35%;
  }
  #header .container-fluid,
  #site_top_middle .container-fluid {
    padding: 0;
    padding-left: 30px;
  }
  #site_top_middle .menu-vertical {
    padding-right: 0;
  }
}
@media (min-width: 892px) and (max-width: 1300px) {
  #site_top_middle .container-fluid {
    padding: 0 15px 0 30px;
  }

  #site_top_middle .container-fluid > .row > div {
    -ms-flex: 0 0 85%;
    flex: 0 0 85%;
    max-width: 85%;
  }

  #site_top_middle .container-fluid > .row > div + div {
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    max-width: 15%;
  }

  #top-menu-buttons ul {
    max-width: 146px;
    text-align: right;
    padding-right: 0;
    margin-top: -15px;
    margin-bottom: 5px;
  }
  #site_top_middle ul.list-unstyled li a {
    display: block;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: 0.85rem;
    text-transform: capitalize;
    padding: 5px;
  }
  #site_top_middle ul li:first-child + li + li {
    margin-top: 0;
  }
  #site_top_middle ul li:first-child + li {
    margin: 0;
  }
  #site_top_middle .menu-vertical {
    padding: 0;
  }
}

div#top-menu-buttons {
  flex: initial !important;
  flex-shrink: 1 !important;
  width: 650px !important;
  max-width: inherit !important;
  padding-right: 0;
}
div#top-left-logo-area {
  flex: 1 !important;
  flex-grow: 1 !important;
  max-width: inherit !important;
  padding-right: 0;
  @media (max-width: 768px) {
    width: 100%;
  }
  /* text-align:center; */
}

@media screen and (min-width: 892px) and (max-width: 1650px) {
  div#top-menu-buttons {
    width: 484px !important;
    padding-right: 0;
  }

  img#eduglobe-label {
    width: 138px;
  }
}

@media screen and (min-width: 892px) and (max-width: 1300px) {
  div#top-menu-buttons {
    width: 200px !important;
  }
}
.Check-Mark::before {
  content: "✓ ";
  margin-left: -15px;
}

.big-h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4vw, 2rem);
}

.menu-logo {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0; /* hidden by default */
  transform: translateY(-10px);
}

.sticky-menu.show-logo .menu-logo {
  opacity: 1;
  transform: translateY(0);
}

.menu-logo-img {
  height: 40px; /* smaller version of logo */
}

.homepage-section-image {
  position: relative;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
  }
  #carouselExampleIndicators.carousel.slide {
    background-color: white !important;
  }
  .carousel-item {
    height: 500px !important;
  }

  .banner-title {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 3rem;
  }
  .carousel-caption-custom {
    position: absolute;
    bottom: 1rem;
    right: 0;
    width: 100%;
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    font-size: 32px;
    @media (max-width: 767px) {
      font-size: 24px;
      text-align: center;
    }
  }
}

.homepage-section-type {
  background-color: #ecf2f6;
  padding: 2rem 0;
  .homepage-section-type-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    img {
      object-fit: contain;
      height: 120px;
    }
    .img-1 {
      width: 70%;
    }
    .img-2 {
      width: 20%;
      height: auto;
    }
    h3 {
      font-family: "Montserrat", sans-serif;
      font-size: clamp(1.5rem, 2vw, 2.5rem);
      font-weight: 600;
      color: #434343;
      text-align: center;
    }
    &:hover {
      box-shadow: 0px 0px 12px 5px #00000008;
    }
  }
}
.homepage-section-about {
  padding: 2rem 0;
}
.homepage-section-about-item {
  padding: 3rem;
  border-radius: 10px;
  overflow: hidden;
  h2 {
    color: #fff;
    text-align: center;
  }
  p {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #fff;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-align: center;
  }
}

.homepage-section-recommend {
  padding: 2rem 0;
  .homepage-section-recommend-item {
    padding: 3rem;
    border-radius: 10px;
    overflow: hidden;
    background-color: #161c33;
    text-align: center;
    align-items: stretch;
    display: flex;
    flex-flow: column;
    height: 100%;
    h2 {
      font-family: "Montserrat", sans-serif;
      font-size: clamp(1.5rem, 2vw, 30px);
      font-weight: 600;
      color: #fff;
      border-bottom: 1px solid #fff;
      padding-bottom: 0;
    }
    p {
      font-family: "Montserrat", sans-serif;
      font-size: clamp(1.1rem, 2vw, 1.25rem);
      color: #fff;
      line-height: 1.5;
      margin-bottom: 1rem;
    }
  }
  img {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }
}

@media (min-width: 768px) {
  /* apply only from md and up */
  .homepage-section-recommend-item {
    height: 100%;
  }

  .col-md-4 {
    display: flex;
    align-items: stretch; /* make child (image) stretch */
  }

  .col-md-8 {
    display: flex;
    align-items: stretch; /* make child (image) stretch */
  }

  .col-md-4 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* keeps aspect ratio but fills the container */
  }
}
