html {
  position: relative;
  min-height: 100%;
}

.main-container {
  overflow-x: hidden;
}

nav .btn {
  list-style: none;
}

nav .btn a {
  color: inherit;
  text-decoration: none;
}

.navbar-default .navbar-nav > li.nav-item.active > a.nav-link {
  color: #000000 !important;
  background-color: #e7e7e7 !important;
  text-decoration: underline !important;
}

.navbar-default .navbar-nav > li.nav-item > a.nav-link:hover,
.navbar-default .navbar-nav > li.nav-item > a.nav-link:focus {
  color: #000000 !important;
  background-color: #e7e7e7 !important;
  text-decoration: underline !important;
}

.navbar-header-inner {
  position: relative;
}

.navbar-default .navbar-toggle {
  border-color: #aaa;
  border-radius: 17px;
}

.navbar-brand > img {
  display: block;
  max-width: 300px;
  max-height: 50px;
}

.header-logo-img {
  display: none;
  z-index: 0;
  position: absolute;
  left: 5%;
  width: 25vw;
  max-width: 350px;
  top: 100px;
}

.no-padding-container {
  padding: 50px 0 0 0 !important;
  overflow-x: hidden;
}

.main-container-login {
  background-attachment: fixed;
}

@media (max-width: 991px) {
  .navbar-nav li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .navbar-header {
    float: none;
    margin-right: -15px;
    margin-left: -15px;
  }

  .navbar-left,
  .navbar-right {
    float: none !important;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    overflow-x: hidden;
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .navbar-fixed-top {
    top: 0;
    border-width: 0 0 1px;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-nav {
    float: none !important;
    margin-top: 7.5px;
  }

  .navbar-nav > li {
    float: none;
  }

  .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .collapse.in {
    display: block !important;
  }
}

/*Only for col-xs*/
@media (max-width: 767px) {
  .main-container {
    /*min-height: calc(100vh - 180px);*/
    padding-top: 90px;
  }
}

/*Only for col-sm*/
@media (min-width: 768px) and (max-width: 992px) {
  .main-container {
    /*min-height: calc(100vh - 180px);*/
    padding-top: 90px;
  }

  .navbar {
    overflow-y: auto;
    max-height: 340px;
    overflow-x: hidden;
  }
}

/*Only for col-md*/
@media (min-width: 992px) and (max-width: 1200px) {
  .main-container {
    /*min-height: calc(100vh - 180px);*/
    padding-top: 90px;
    background-size: cover !important;
  }
}

/*Only for col-lg*/
@media (min-width: 1200px) {
  .main-container {
    /*min-height: calc(100vh - 180px);*/
    padding-top: 90px;
  }

  .header-logo-img {
    left: 5%;
  }
}

.footer {
  padding: 30px;
}

.footer ul {
  margin: 0;
  padding: 0;
  color: white;
  list-style-type: none;
}

.footer .container ul li {
  display: inline-block;
  padding-right: 25px;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
}

.footer h4 {
  text-transform: uppercase;
  font-family: ubuntu, Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.1;
  color: #39a949;
}

.styled-checkbox {
  position: absolute;
  opacity: 0;
}

.styled-checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}

.styled-checkbox + label:before {
  content: "";
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 20px;
  height: 20px;
  background: white;
}

.styled-checkbox:hover + label:before {
  background: #f35429;
}

.styled-checkbox:focus + label:before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.styled-checkbox:checked + label:before {
  background: #f35429;
}

.styled-checkbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}

.styled-checkbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}

.styled-checkbox:checked + label:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  background: white;
  width: 2px;
  height: 2px;
  box-shadow:
    2px 0 0 white,
    4px 0 0 white,
    4px -2px 0 white,
    4px -4px 0 white,
    4px -6px 0 white,
    4px -8px 0 white;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

html {
  background: lightgray;
}

body {
  font-family: "Source Sans Pro", sans-serif;
}

.unstyled {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/*li {*/
/*margin: 20px 0;*/
/*}*/

.centered {
  width: 300px;
  margin: auto;
}

.title {
  text-align: center;
  color: #4571ec;
}

body > div > div.luya-mainnav > div > div:nth-child(2) > ul > li:nth-child(2) {
  display: none;
}

.navbar-default {
  background: white;
  border-color: white;
  opacity: 0.9;
}

.navbar-right {
  margin-top: 8px;
}

.navbar-item {
    padding: 2px;
}

.navbar-item .btn {
    text-transform: lowercase;
    font-size: 15px;
}

.navbar-item .btn::first-letter {
    text-transform: uppercase;
    padding: 2px;
}

.nav-item {
  padding: 2px;
}

.navbar-nav > li.nav-item:not(.lang-nav-item) > a.nav-link {
  text-transform: lowercase;
}

.navbar-nav > li.nav-item:not(.lang-nav-item) > a.nav-link::first-letter {
  text-transform: uppercase;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  float: right;
}

.lang-nav-item {
  margin-top: -15px;
}

.mobile-account-buttons .col-xs-6 {
  padding: 0;
}

/* Hide default HTML checkbox */
.switch input {
  display: none;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e2e2e2;
  border: 1px solid;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

li.language-toggle {
  text-transform: uppercase;
  color: #7f7f7f;
  font-size: 10px;
  font-weight: bold;
  line-height: 34px;
}

.home-color {
  background: #fff;
}

.latest-twitter-posts {
  background-color: #dbdbdb;
  padding: 2em;
  font-size: 1.2em;
}

.vertical-align {
  display: flex;
  align-items: center;
}

.text-bold {
  font-weight: bold;
}

.footer-social-links {
  margin-top: 10px;
}

.footer-social-links a img {
  display: inline-block;
  height: 35px;
  width: 35px;
}

.modal {
  background-color: #000000e6 !important;
  overflow-y: hidden !important;
  z-index: 10000 !important;
}

.modal-title-top {
  margin-right: auto;
  margin-left: auto;
  color: #fff !important;
  text-align: center;
  font-weight: 200;
}

.modal-subtitle-top {
  margin: 0 auto;
  color: white !important;
  font-weight: 500;
  text-transform: uppercase;
}

/*.modal-body {*/
/*overflow-x: auto;*/
/*}*/

.modal-dialog {
  margin-right: auto;
  margin-left: auto;
  margin-top: 10px;
}

.dismiss-button {
  border: 0;
  float: right;
  -webkit-appearance: none;
  cursor: pointer;
  background: 0 0;
  height: 75px;
}

.dismiss-button:focus,
.btn-close:focus {
  outline: 0;
}

/* Latest News Block CSS*/
.latest-news-block .custom-row {
  margin-bottom: 10px;
}

.latest-news-block {
  border-left: 1px solid #000;
  padding-left: 10px;
}

.latest-news-block .custom-row .news-description,
.custom-row .news-title {
  padding-left: 20px;
}

.latest-news-block .custom-row .news-title {
  font-weight: bold;
}

.latest-news-block .custom-row img {
  width: 115px;
  height: 77px;
  float: left;
}

.latest-news-block .custom-link {
  text-decoration: underline;
  text-align: right;
}

/* Custom Modal CSS */
.modal-body {
  min-height: 280px;
  max-height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-footer {
  border-top: 1px solid #333;
}

/*Only for col-xs*/
@media (max-width: 767px) {
  .modal-title-top {
    margin-top: 75px;
    font-size: 18px !important;
    width: 280px;
  }

  .vertical-align {
    display: block;
    align-items: center;
  }

  .latest-twitter-posts .twitter-post-text {
    margin-bottom: 25px;
  }

  .modal-subtitle-top {
    width: 280px;
    font-size: 18px;
  }

  .modal-body {
    height: 345px;
  }

  .modal-dialog {
    width: 280px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/*Only for col-sm*/
@media (min-width: 768px) and (max-width: 992px) {
  .modal-title-top {
    margin-top: 120px;
    font-size: 26px !important;
    width: auto;
  }

  .modal-subtitle-top {
    width: auto;
    font-size: 22px;
  }
}

/*Only for col-md*/
@media (min-width: 992px) and (max-width: 1200px) {
  .modal-title-top {
    margin-top: 120px;
    font-size: 26px !important;
    width: auto;
  }

  .modal-subtitle-top {
    width: auto;
    font-size: 22px;
  }

  /*.modal-body {*/
  /*height: 615px;*/
  /*}*/
  /*.modal-dialog {*/
  /*width: 615px;*/
  /*}*/
}

/*Only for col-lg*/
@media (min-width: 1200px) {
  .modal-title-top {
    margin-top: 100px;
    font-size: 26px !important;
    width: auto;
  }

  .modal-subtitle-top {
    width: auto;
    font-size: 25px;
  }
}

/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 760px),
  (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Force table to not be like tables anymore */
  .points-log-container table,
  .points-log-container table thead,
  .points-log-container table tbody,
  .points-log-container table th,
  .points-log-container table td,
  .points-log-container table tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .points-log-container thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .points-log-container tr {
    border: 1px solid #ccc;
  }

  .points-log-container td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  .points-log-container td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 30%;
    padding-right: 10px;
    white-space: nowrap;
  }

  /*
    Label the data
    */
  .points-log-container td:nth-of-type(1):before {
    content: "DATE";
    font-weight: bold;
  }

  .points-log-container td:nth-of-type(2):before {
    content: "POINTS";
    font-weight: bold;
  }

  .points-log-container td:nth-of-type(3) {
    padding-top: 30px;
  }

  .points-log-container td:nth-of-type(3):before {
    content: "EARNED FOR...";
    font-weight: bold;
  }
}

.home-alert-row .alert {
  margin-top: 68px;
}

.footer-error-fixed {
  position: fixed;
  width: 100%;
  bottom: 0;
}

.error-header {
  color: #de0422;
  margin-top: 100px;
}

.footer-container > .row {
  padding: 0;
  margin: 0;
}

.apple-logo-img {
  width: 32px;
  height: 32px;
  margin: 0;
  border-radius: 4px;
  padding: 0;
  position: absolute;
  left: 41%;
}

.apple-register-button {
  height: 50px;
  width: 38%;
  float: right;
}

.apple-login-button {
  position: absolute;
  right: -13px;
  bottom: 59px;
}

/*    Round and shadow boxes */

#earn-block,
.activity-pane,
.leaderboard-container,
.news-views-row,
#contribution-app-block .report-panel,
.contribution-chart-container,
.voucher-block-item img,
.charity-block-item img,
.contact-us-block,
.latest-news-block,
.lift-sharing-block .board,
#intro-twitter,
#partner-block,
#cross-scheme-block,
.carousel-slider-container .slick-list {
  border-radius: 15px 15px 15px 15px;
  -moz-border-radius: 15px 15px 15px 15px;
  -webkit-border-radius: 15px 15px 15px 15px;

  -webkit-box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.16);
}
.lift-sharing-block .board .board-inner {
  border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  -webkit-border-radius: 15px 15px 0 0;
}
.activity-block .tab-content {
  background: transparent !important;
}

.contact-us-block,
.latest-news-block {
  background-color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 20px;
}
.latest-news-block {
  display: grid; /* Fix displaying block pagination */
}
#intro-twitter,
#partner-block {
  background-color: #ffffff;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* 320px - 359px */
@media (min-width: 320px) and (max-width: 359px) {
  .hp2026-carousel .carousel-slider {
    width: 280px;
    margin: 0 auto !important;
  }
}

/* 360px - 399px */
@media (min-width: 360px) and (max-width: 399px) {
  .hp2026-carousel .carousel-slider {
    width: 340px;
    margin: 0 auto !important;
  }
}

/* 400px - 449px */
@media (min-width: 400px) and (max-width: 449px) {
  .hp2026-carousel .carousel-slider {
    width: 380px;
    margin: 0 auto !important;
  }
}

/* 450px - 499px */
@media (min-width: 450px) and (max-width: 499px) {
  .hp2026-carousel .carousel-slider {
    width: 420px;
    margin: 0 auto !important;
  }
}

/* 500px - 600px */
@media (min-width: 500px) and (max-width: 600px) {
  .hp2026-carousel .carousel-slider {
    width: 470px;
    margin: 0 auto !important;
  }
}
@media (max-width: 600px) {
  #hp2026hero .hp2026-impact-list {
    flex-direction: row !important;
  }
  #hp2026hero .hp2026-impact-item {
    display: block !important;
  }
  #hp2026hero .hp2026-hero-headline {
    font-size: 18px !important;
  }
  #hp2026hero {
    min-height: 160px !important;
    border-radius: 10px !important;
  }
  .slick-slider .slick-track,
  .slick-slider .slick-list {
    height: 160px !important;
  }
  .hp2026-carousel .carousel-slide {
    min-height: 150px !important;
  }
  .hp2026-carousel .slide-content .title {
    font-size: 8px !important;
    margin-bottom: 5px !important;
  }
  .carousel-slider .slide-content .content p {
    font-size: 11px !important;
    margin-bottom: 0 !important;
  }
  .carousel-slider .slick-dots {
    bottom: 3px !important;
  }
}
