header.masthead {
  padding-top: 2rem;;
  background: #5cbbba; 
}

.bg-custom {
  background-color: rgba(43,136,5,0.7);
}

.bg-custom2 {
  background-color: rgba(43,136,5,1);
}

.bg-custom3 {
  background-color: rgba(0,0,0,.7);
}

.text-black{
  color: #212529 !important;
}

.btn.disabled, .btn:disabled {
  opacity: 0.9;
}

.page-section {
  padding: 3rem 0;
}

.pulse-red {
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(220,53,69, 0.4);
  animation: pulse 2s infinite;
}

@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(220,53,69, 0.4);
  }
  70% {
    -webkit-box-shadow: 0 0 0 10px rgba(220,53,69, 0);
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 rgba(220,53,69, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(220,53,69, 0.4);
    box-shadow: 0 0 0 0 rgba(220,53,69, 0.4);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(220,53,69, 0);
    box-shadow: 0 0 0 10px rgba(220,53,69, 0);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(220,53,69, 0);
    box-shadow: 0 0 0 0 rgba(220,53,69, 0);
  }
}

@media (min-width: 992px) {
  header.masthead {
     padding-top: 7rem;;
  }
}

@media (min-width: 768px){
  header.masthead .masthead-heading {
    line-height: 5rem;
  }
}

/* Override */
.btn-primary {
  border-color: #203264 !important;
  font-size: 26px;
  font-weight: bold;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff !important;
  background: #203264 !important;
  border-radius: 30px;
  opacity: 0.8;
}
.btn-primary:hover {
  color: #fff !important;
}
.btn-primary:focus, .btn-primary.focus {
  box-shadow: none;
}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fff !important;
}
#mainNav .navbar-toggler {
  background-color: #004275 !important;
}

.masthead {
  padding-bottom: 3rem !important;
}
.masthead-heading {
  font-size: 2.2rem !important;
  line-height: 2.5rem !important;
  margin-bottom: 1.2rem !important;
}
.masthead-subheading {
  margin-top: 4.5rem;
}

#mainNav.navbar-shrink {
  background-color: rgba(0,0,0,.7) !important;
}

.timeline > li .timeline-image {
  background-color: #004275;
  font-size: 1.2rem;
  line-height: 65px;
}
.timeline > li .timeline-image {
  width: 80px !important;
  height: 80px !important;
}

.moderator {
  margin-top: 70px;
}

@media (min-width: 768px) {
  .masthead-heading {
    font-size: 3.2rem !important;
    line-height: 3.5rem !important;
  }
  .timeline:before {
    margin-bottom: 100px;
  }
  .timeline > li .timeline-image {
    margin-left: -40px !important;
  }
}

@media (min-width: 992px) {
  .masthead-subheading {
    margin-top: 0;
  }
  .moderator {
    margin-top: 0;
  }
}

.error-message {
  color: #e22;
}

body, h1, h2, h3, h4, h5, h6, p, header.masthead .masthead-heading, .btn-xl {
  font-family: 'Open Sans', sans-serif;
}

#mainNav .navbar-brand img {
  height: 40px !important;
}
#mainNav.navbar-shrink .navbar-brand svg, #mainNav.navbar-shrink .navbar-brand img {
  height: 40px !important;
}

#mainNav .navbar-brand-r img {
  height: 48px !important;
}
#mainNav.navbar-shrink .navbar-brand-r svg, #mainNav.navbar-shrink .navbar-brand-r img {
  height: 48px !important;
}

@media (max-width: 768px) {
  #mainNav .navbar-brand img {
    height: 1.6rem !important;
  }
  #mainNav.navbar-shrink .navbar-brand svg, #mainNav.navbar-shrink .navbar-brand img {
    height: 1.6rem !important;
  }
  #mainNav .navbar-brand-r img {
    height: 2.0rem !important;
  }
  #mainNav.navbar-shrink .navbar-brand-r svg, #mainNav.navbar-shrink .navbar-brand-r img {
    height: 2.0rem !important;
  }
}

body {
  border: 15px solid #203264;
  position: relative;
}
a, a:hover {
  color: #5cbbba !important;
}

.serif {
  font-family: 'Noto Serif', serif;
}
.aqua {
  color: #5cbbba;
}
.aqua-bg {
  background: #5cbbba;
}

.red {
  color: #cb1718;
}
.blu {
  color: #283583;
}
.blu-bg {
  color: #203264;
}

.webinar {
  position: absolute;
  top: 20px;
  right: 25px;
}

.head1 {
  font-size: 3em;
  font-weight: normal;
}
.head2 {
  font-weight: normal;
}
.head3 {
  font-size: 4rem;
}

@media (max-width: 768px) {
  body {
    border: 10px solid #203264;
  }
  .webinar {
    position: absolute;
    text-align: center;
    right: 30%;
    top: 0;
  }
  .head1 {
    font-size: 2.8em !important;
  }
  .head2 {
    font-size: 1.2em;
  }
  .head3 {
    font-size: 2rem;
  }
}

section#contact {
  background: none !important;
}
