/* BODY */
body {
  border-top: 0;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

/* ONLINE PORTAL */
.portal-category-header {
  margin-top: 20px;
  margin-bottom: 20px;
  background: var(--menu-color);
  color: #fff;
  text-align: center;
  font-size: 24px;
  height: 50px;
  line-height: 50px;
  border-radius: 20px;
}

.portal-details {
  font-size: 14px;
  text-align: center;
}

.portal-details a {
  margin-top: 20px;
  margin-bottom: 20px;
}

.portal-file {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--light-blue);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.portal-file .file-title {
  display: block;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 16px;
}

.portal-file .file-desc {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 12px;
}

.portal-file img {
  max-height: 220px;
}

/* page sections */
.page-section {
  margin-top: 20px;
  margin-bottom: 0px;
}

.page-section-price {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
}

.page-section-button {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.page-section-product-wrapper {
  margin-top: 15px;
  padding: 20px 40px;
  border: 1px solid var(--top-menu-bar-bg-color);
  border-radius: 15px;
}

.page-section-product-name {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-top: 20px;
}

a {
  transition: 0.5s !important;
  color: var(--burgundy);
  font-weight: bold;
}

.top-menu {
  background: var(--top-menu-bar-bg-color);
  min-height: 50px;
  line-height: 50px;
  color: var(--h1);
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.top-menu-right {
  text-align: right;
  line-height: 50px;
}

.top-menu a {
  color: var(--h1);
  transition: 0.5s;
  margin-left: 15px;
  /*line-height: 50px;*/
  display: inline-block;
  vertical-align: middle;
}

.top-menu a:hover {
  color: var(--btn-hover-color);
  text-decoration: none;
}

.top-menu a {
  margin-top: -6px;
}

.top-menu a.social-icon {
  font-size: 34px;
  margin-left: 10px;
  /*margin-top: 3px;*/
  display: inline-block;
}

@media (max-width:1200px) {
  .top-menu {
    font-size: 18px;
  }
}

@media (max-width:991px) {
  .top-menu {
    text-align: center;
  }

  .top-menu-right {
    text-align: center;
    /*margin-top: 10px;*/
  }
}

#header {
  height: 220px;
  color: var(--h1);
  background: var(--header-bg-color);
  text-align: center;
  position: relative;
  margin-top: 40px;
}

#header a:hover {
  text-decoration: none;
}

#header .logo {
  width: 100%;
  max-width: 530px;
  height: 240px;
  bottom: 0px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 0;
}

#header h1 {
  color: var(--burgundy);
  margin-top: 25px;
  font-size: 56px;
  font-weight: bold;
}

#header h2 {
  color: var(--dark-blue);
  font-size: 34px;
  font-weight: normal;
}

#header h3 {
  color: var(--dark-blue);
  font-size: 24px;
  font-weight: normal;
}

#header h1,
#header h2,
#header h3 {
  position: relative;
  /* Ensure they are in the stacking context */
  z-index: 1;
  /* Higher z-index */
}

@media (max-width:767px) {
  #header {
    height: 200px;
    padding-top: 10px;
  }

  #header .logo {
    height: 180px;
    max-width: 400px;
  }

  #header h1 {
    font-size: 36px;
    margin-top: 25px;
  }

  #header h2 {
    font-size: 24px;
  }

  #header h3 {
    font-size: 18px;
  }
}

@media (max-width:480px) {
  #header h2 {
    font-size: 20px;
  }

  #header h3 {
    font-size: 16px;
  }
}

.navbar-default {
  background: var(--dark-blue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 4;
}

#main-menu {
  background: var(--dark-blue);
  text-align: center !important;
}

@media (min-width: 992px) {

  .sm-blue a,
  .sm-blue a:hover,
  .sm-blue a:focus,
  .sm-blue a:active,
  .sm-blue a.highlighted {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    background: var(--dark-blue) !important;
    font-family: "Roboto", sans-serif !important;
    padding: 13px 20px !important;
  }

  .sm-blue a:hover {
    color: var(--menu-color-hover) !important;
  }

  .sm-blue>li {
    border-left: 0;
  }

  .sm-blue ul {
    border: 0;
    padding: 0px 0;
    background: #fff !important;
    border-radius: 0;
    -webkit-box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    box-shadow: 0 !important;
    top: 5px;
    margin-top: 1px !important;
  }

  .sm-blue ul li {
    border: 0 !important;
    margin: 0 !important;
  }

  .sm-blue ul li a {
    color: var(--h1) !important;
    background: var(--menu-color-hover) !important;
    font-size: 16px;
    font-weight: 400;
  }

  .sm-blue ul li a:hover {
    color: #fff !important;
    background: var(--burgundy) !important;
    font-size: 16px;
    font-weight: 400;
  }
}

.sm-blue a,
.sm-blue a:hover,
.sm-blue a:focus,
.sm-blue a:active {
  padding: 10px 20px;
  padding-right: 20px;
  padding-right: 58px;
  background: var(--dark-blue) !important;
  font-size: 16px !important;
  font-family: "Roboto", sans-serif !important;
  color: #fff !important;
}

.carousel-wrapper {
  background: var(--light-blue);
  padding: 15px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 3;
}

.carousel-caption {
  position: relative;
  text-align: center;
  left: 0 !important;
  right: 0 !important;
  text-shadow: none !important;
  max-width: 500px;
  margin: 40px auto 0px auto;
}

.banner-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width:767px) {
  .banner-image {
    height: 400px;
  }
}

.carousel-caption h2 {
  color: var(--burgundy);
  font-size: 46px;
  margin-bottom: 40px;
}

.carousel-caption img {
  width: 450px;
}

h1 {
  color: var(--burgundy);
  font-size: 28px;
}

h2,
h3,
h4,
h5,
h6 {
  color: var(--h2);
  font-size: 22px;
}

h3,
h4,
h5,
h6 {
  color: var(--h2);
  font-size: 18px;
}

#footer_wrapper {
  background: var(--dark-blue);
  color: #fff;
  font-size: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  position: relative;
}

#footer_wrapper .logo {
  width: 100%;
  max-width: 530px;
  height: 240px;
  bottom: 0px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 0;
}

#footer a {
  color: #fff;
  font-size: 22px;
}

#footer .footer_title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

#footer_follow_us {
  text-align: right;
}

#footer a:hover {
  color: var(--light-blue);
}

.social-icon.footer {
  font-size: 50px !important;
  margin-left: 10px;
}

#final_wrapper {
  background: var(--very-dark-blue);
  border-top: 0;
  color: #fff;
  font-size: 14px;
  padding: 15px 0 25px 0;
}

@media (max-width:991px) {
  #footer_wrapper .logo {
    opacity: 0.3;
  }

  #footer {
    text-align: center;
  }

  #footer_follow_us {
    text-align: center;
    margin-top: 20px;
  }

  #copyright {
    text-align: center;
  }

  #upshot {
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width:767px) {
  #footer_wrapper .logo {
    height: 180px;
    max-width: 400px;
  }
}

/* home-page-sections */
.home-page-section1 {
  background: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
  font-size: 22px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.home-page-section1 h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--burgundy);
}

.home-page-section1 img {
  max-width: 250px;
}

.home-page-section1 p.ukbtc-text {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  padding-left: 50px;
  padding-right: 50px;
}

.home-page-section1 a {
  color: var(--dark-blue);
  font-weight: bold;
}

@media (max-width:991px) {
  .home-page-section1 img {
    margin-top: 40px;
    width: 100%;
  }

  .home-page-section1 p.ukbtc-text {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.home-page-section2 {
  background: var(--light-blue);
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 22px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.home-page-section2 h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--burgundy);
}

.home-page-section2 .post-date {
  color: #a1a1a1;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.home-page-section2 a.read-more {
  color: var(--dark-blue);
  display: block;
  margin-top: 20px;
  transition: 0.5s;
}

.home-page-section3 {
  background: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 22px;
  text-align: center;
  /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  position: relative;*/
}

.home-page-section3 h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--burgundy);
}

.home-page-section3 span {
  color: var(--dark-blue);
  font-style: italic;
}

.home-page-section3 .name {
  margin-top: 40px;
}

.home-page-section3 .owl-theme .owl-nav[class*="owl-"] {
  display: block;
}

.home-page-section3 .owl-prev {
  width: 25px;
  /*height: 150px;*/
  position: absolute;
  top: 20%;
  left: -90px;
  display: block !important;
  border: 0px solid var(--dark-blue);
}

.home-page-section3 .owl-next {
  width: 25px;
  /*height: 150px;*/
  position: absolute;
  top: 20%;
  right: -80px;
  display: block !important;
  border: 0px solid var(--dark-blue);
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
  background: none !important;
}

@media (max-width:1650px) {
  .owl-carousel .owl-nav {
    display: none !important;
  }
}

.home-page-section3 .owl-prev i,
.home-page-section3 .owl-next i {
  /*transform: scale(1, 6);*/
  color: var(--dark-blue);
  font-size: 50px;
}

.footer-logos {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 40px;
  background: var(--section2-background);
}

.footer-logos a {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
}

/* testionials page */
.testimonials-wrapper {
  background: var(--light-blue);
  padding: 20px;
  color: var(--dark-blue);
  font-style: italic;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* books page/products */
#sort_menu_wrapper,
#sort_menu_wrapper_blog {
  background: var(--dark-blue) !important;
  border-radius: 10px !important;
  margin-bottom: 20px;
}

.product {
  background: var(--light-blue) !important;
  padding: 20px;
  padding-bottom: 40px !important;
  border-radius: 10px;
  height: 330px;
}

.product_name {
  height: 60px;
}

.product .product_link {
  margin-top: 20px;
}

.btn-info {
  background: var(--btn-color);
  border: none;
}

#product_attributes_standard {
  margin-top: 40px;
}

/* PAGINATION */
.pagination {
  margin: 0px 0px 0px 48px;
  padding: 2px;
}

.pagination ul {
  font-size: 12px;
  margin: 0px 3px 0px 0px;
  padding: 0px;
  text-align: right;
}

.pagination li {
  display: inline;
  list-style-type: none;
  padding: 1px;
}

.pagination a,
.pagination a:visited {
  background: var(--light-blue);
  border: 1px solid #fff;
  color: var(--dark-blue);
  padding: 1px 5px;
  text-decoration: none;
}

.pagination a:hover,
.pagination a:active {
  background-color: #2498AF;
  border: 1px solid #fff;
  color: #FFFFFF;
}

.pagination li.currentpage {
  background-color: #fff;
  border: 1px solid #fff;
  color: var(--dark-blue);
  font-weight: bold;
  padding: 1px 5px;
}

.pagination li.disablepage {
  border: 1px solid #929292;
  color: #929292;
  padding: 1px 5px;
}

.pagination li.nextpage {
  font-weight: bold;
}

* html .pagination li.currentpage,
* html .pagination li.disablepage {
  /* IE 6 and below. Adjust non linked LIs slightly to account for bugs */
  margin-right: 5px;
  padding-right: 0px;
}

#pagination_wrapper {
  margin-top: 20px;
  background-color: var(--dark-blue);
  font-size: 12px;
  margin-bottom: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
  border-radius: 10px;
}

.pagination {
  float: right;
  margin-bottom: 0px;
}

.paginate {
  position: relative;
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
  background-color: #fff;
  border-color: #fff;
  color: var(--dark-blue);
  cursor: default;
  z-index: 2;
}

.pagination-sm>li>a,
.pagination-sm>li>span {
  background: var(--light-blue);
  color: var(--dark-blue);
  border-color: #fff;
  font-size: 12px;
  padding: 5px 10px;
}

.pagination-sm>li>a:hover,
.pagination-sm>li>span:hover {
  background: var(--dark-blue);
  border-color: #fff;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
}

label {
  color: var(--dark-blue);
}

.events-section {
  background: var(--light-blue);
  padding: 20px 20px;
  border-radius: 10px;
  /*margin-top: 20px;*/
  margin-bottom: 20px;
  color: var(--dark-blue);
}

.page-section img {
  border: 4px solid var(--burgundy);
  border-radius: 10px;
  margin-top: 20px;
}