body {
  /*font-family: 'Lato', sans-serif;*/
  font-weight: 400;
}

body,
html {
  height: 100%;
  color: #777;
  line-height: 1.8;
}

ul.list-tabbed {
  list-style-type: none;
  padding: 0;
}

ul.list-tabbed2 {
  list-style-type: none;
  padding: 5px;
  display: flex;
  margin: 0
}

ul.list-tabbed>li>a {
  color: #659fff !important;
  text-decoration: none;
}

ul.list-tabbed>li>a:hover {
  color: #333 !important;
}

#login-header {
  padding-top: 20px;
  padding-left: 20px;
  text-align: left;
}

.btn-blue {
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #EF4035;
  border: none;
  border-radius: 15px;
  outline: 0 !important;
}

.btn-blue:hover {
  background-color: #0756a5
}

.btn-red {
  padding: 15px 25px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: #fff;
  background-color: #0756a5;
  border: none;
  border-radius: 15px;
  outline: 0 !important;
}

.btn-red:hover {
  background-color: #EF4035
}

.modal1,
.modal2 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content1 {
  background-color: #fefefe;
  margin: 6% auto;
  /*border: 1px solid #888;*/
  width: 680px;
  height: 690px;
  text-align: center;
  border-radius: 5px;
}

div#content {
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
}

.close,
.close2 {
  color: #aaa;
  font-size: 32px;
  font-weight: bold;
  opacity: 1 !important;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.ui-tabs .ui-tabs-panel {
  padding: 1em !important;
  border: none !important;
}

.ui-widget.ui-widget-content {
  border: none !important;
}

.shadow1 {
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#msg-intro {
  text-shadow: 0 2px 4px #000;
}

.nav-item {
  margin-left: 15px;
}

div#math-club {
  border-top: 1px solid #eaecef;
}

div#math-club a:hover {
  text-decoration: none;
}

a.math-portal {
  color: #fff;
  background: #13afdf;
  box-shadow: inset 0 0 30px #1d6c88;
  -webkit-box-shadow: inset 0 0 30px #1d6c88;
  border: 0;
  border-radius: 2px;
  padding: 6px 12px;
}

div#dropdown-container {
  font-size: 18px;
  font-weight: 500;
  padding: 15px;
}

div#dropdown-container a {
  display: block;
  padding: 2px 6px;
}

div#dropdown-container a:hover {
  text-decoration: none;
  background-color: #6c757d;
  color: #fff;
}

div.video-modal {
  background-color: #fefefe;
  margin: 6% auto;
  /*border: 1px solid #888;*/
  width: 800px;
  height: 600px;
  text-align: center;
  border-radius: 5px;
}

video,
button {
  outline: none !important;
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section.one {
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    linear-gradient(to right bottom,
      rgba(231, 231, 231, 0.4),
      rgba(0, 0, 0, 0.7)), url("../images/lesson-classroom.jpg");

  /*clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);*/
}

section.three {
  max-height: 400px;
  margin: 0 auto;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    linear-gradient(to right bottom,
      rgba(231, 231, 231, 0.4),
      rgba(0, 0, 0, 0.7)), url("../images/maths-class.jpg");
}

section.five {
  max-height: 400px;
  margin: 0 auto;
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image:
    linear-gradient(to right bottom,
      rgba(231, 231, 231, 0.4),
      rgba(0, 0, 0, 0.7)), url("../images/lesson-classroom.jpg");
}

section.four {
  color: #0756A5;
  text-align: center;
}

#btn-login {
  float: right !important;
}

img#logo {
  height: 80px;
}

.bg-light {
  background-color: rgba(0, 0, 0, 0.4) !important;
}

/* FIRST CONTAINER SECTION */

div#first-container h1 {
  color: #fff;
  line-height: 1.4;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.6vw;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
}

div#first-container h2 {
  color: #fff;
  line-height: 1.4;
  letter-spacing: 4px;
  font-weight: 700;
  /*text-transform: uppercase;*/
  font-size: 1.8vw;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
}

.sub-heading {
  font-weight: 400;
  font-size: 1.5em;
  line-height: 1.2;
  letter-spacing: 4px;
  display: block;
  animation-name: moveInRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  /*animation: moveInRight 1s ease-out*/
}

#first-container a {
  font-size: 1.5em;
  height: 70px;
  line-height: 70px;
  /*display: block;*/
  text-decoration: none;
  color: #fff;
  border-radius: 12px;
  min-width: 280px;
}

a.btn-blue:link,
a.btn-blue:visited,
a.btn-red:link,
a.btn-red:visited {
  transition: all .2s;
}

a.btn-blue:hover,
a.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
}

a.btn-blue:active,
a.btn-red:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

a.btn-blue {
  background: linear-gradient(to right bottom,
      rgba(30, 146, 255, 0.9),
      rgba(0, 74, 143, 0.9));
  text-align: center;
  animation-name: moveInBottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

a.btn-red {
  background: linear-gradient(to right bottom,
      rgba(255, 87, 87, 0.9),
      rgba(238, 0, 0, 0.9));
  text-align: center;
  animation-name: moveInBottom;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}


@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

/* SECTION ABOUT Styling */

#about {
  width: 100%;
  margin: auto;
  text-align: center;
  color: #0756A5;
  line-height: 1.8;
  padding: 20px;
}

.about-inner {
  max-width: 700px;
  margin: auto;
}

.about-inner h3 {
  font-size: 2.3em;
  margin-bottom: 30px;
}

#logo {
  display: inline-block;
  padding-top: .3125rem;
  padding-bottom: .3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

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

.roi-container,
#eduneering {
  text-align: center;
  color: #fff;
}

.roi-container .flow-text,
#eduneering .flow-text {
  line-height: 400px;
  font-size: 2.9em;
  letter-spacing: .3em;
}

.roi-para {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.8em;
  line-height: 1.2;
}

.roi-para-sm {
  font-size: 1.2em;
  line-height: 1.8;
}

.wrapper1 {
  text-align: center;
  margin: 50px auto 30px auto;
}

div.m12 {
  margin-top: 20px;
}

#first-container .row {
  max-width: 800px;
}

#first-para {
  margin-bottom: 60px;
}

#about .container,
section.four .container {
  max-width: 900px;
}

#section-two-para {
  font-size: 1.4em;
  margin-top: 40px;
  margin-bottom: 40px;
}

.item-7 {
  margin: 30px auto;
}

#section-four .card-panel {
  padding: 24px 0 0 0;
  background-color: #f1f1f1;
}

#section-four .card-panel p {
  background-color: #fff;
  padding: 20px;
}

#section-four .card-panel h3 {
  color: #0056ff;
  font-size: 1.9em;
}

#section-five {
  max-width: 900px;
  margin: 30px auto;
  text-align: center;
}

#section-five p {
  font-size: 1.7rem;
  color: #0756A5;
  line-height: 1.8;
}

#section-five .card-panel {
  max-width: 700px;
  margin: 40px auto;
}

textarea#message {
  height: 160px;
}

.grey-text {
  color: #353535 !important;
}

i.small {
  font-size: 2.1rem;
  vertical-align: sub;
}

.carousel .indicators .indicator-item {
  height: 16px;
  width: 16px;
}

.carousel.carousel-slider .carousel-item p {
  font-size: 1.2rem;
}

.tabs .tab a {
  color: #343a40 !important;

}

.tab a.active {
  background-color: transparent;
  color: #039be5 !important
}

.tabs .tab a:focus,
.tabs .tab a:focus.active {
  background-color: rgba(0, 149, 255, 0.1);
  outline: none;
}

.tabs .indicator {
  background-color: #039be5 !important;
}

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

#btn-submit {
  background-color: #0756A5;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 480px) {
  #first-container .flow-text {
    font-size: 1.296rem;
  }

  #first-container h1.flow-text {
    font-size: 1.8rem;
  }

  .wrapper1 {
    margin: 10px auto 10px auto;
  }

  .roi-container h2.flow-text {
    font-size: 1.6em;
    letter-spacing: .3rem;
  }

  #first-para {
    margin-bottom: 0;
  }

  section.three,
  section.five {
    max-height: 290px;
    line-height: 290px;
  }

  .roi-container .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #eduneering .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #section-five p {
    font-size: 1.2rem;
  }

}

@media only screen and (max-width: 390px) {
  #first-container .flow-text {
    font-size: 1.2rem;
  }

  .wrapper1 {
    margin: 10px auto 10px auto;
  }

  .roi-container h2.flow-text {
    font-size: 1.2em;
    letter-spacing: .3rem;
  }

  #first-para {
    margin-bottom: 0;
  }

  section.three,
  section.five {
    max-height: 290px;
    line-height: 290px;
  }

  .roi-container .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #eduneering .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #section-five p {
    font-size: 1.2rem;
  }
}

@media only screen and (max-width: 300px) {
  #first-container .flow-text {
    font-size: 1.2rem;
  }

  .wrapper1 {
    margin: 10px auto 10px auto;
  }

  .roi-container h2.flow-text {
    font-size: 1.2em;
    letter-spacing: .3rem;
  }

  #first-para {
    margin-bottom: 0;
  }

  section.three,
  section.five {
    max-height: 290px;
    line-height: 290px;
  }

  .roi-container .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #eduneering .flow-text {
    line-height: 290px;
    font-size: 2.5em;
  }

  #section-five p {
    font-size: 1.2rem;
  }
}