:root {
  --club-color: #0033a0;
}

body {
  color: #404040;
  font: 400 15px/22px "Source Sans Pro", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

.sidebar {
  position: absolute;
  width: 20%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.25);
}

.map {
  position: absolute;
  left: 20%;
  width: 80%;
  top: 0;
  bottom: 0;
}

div#wg-api-football-fixture {
  margin-left: 80%;
  width: 0;
  overflow: scroll;
  height: 680px;
}

h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 400;
  line-height: 20px;
  padding: 20px 2px;
}

a {
  color: #404040;
  text-decoration: none;
}

a:hover {
  color: #101010;
}

.heading {
  background: #fff;
  border-bottom: 1px solid #eee;
  min-height: 60px;
  line-height: 60px;
  padding: 0 10px;
  background-color: var(--club-color);
  color: #fff;
}

.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
}

.listings .item {
  display: block;
  border-bottom: 1px solid #eee;
  padding: 10px;
  text-decoration: none;
}

.listings .item:last-child {
  border-bottom: none;
}
.listings .item .title {
  display: block;
  color: var(--club-color);
  font-weight: 700;
}

.listings .item .title small {
  font-weight: 400;
}
.listings .item.active .title,
.listings .item .title:hover {
  color: var(--club-color);
}
.listings .item.active {
  background-color: #ededed;
  border-top: 1px solid var(--club-color);
  border-bottom: 1px solid var(--club-color);
}

p.details-paragraph {
  margin-top: 2px;
  margin-bottom: 2px;
}

::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  border-left: 0;
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-track {
  background: none;
}
::-webkit-scrollbar-thumb {
  background: var(--club-color);
  border-radius: 0;
}

.marker {
  border: none;
  cursor: pointer;
  height: 56px;
  width: 56px;
  background-size: 56px;
  background-color: rgba(0, 0, 0, 0);
  background-repeat: no-repeat;
  background-image: url("/images/marker.png");
}

/* Marker tweaks */
.mapboxgl-popup {
  padding-bottom: 50px;
}

.mapboxgl-popup-close-button {
  display: none;
}
.mapboxgl-popup-content {
  font: 400 15px/22px "Source Sans Pro", "Helvetica Neue", sans-serif;
  padding: 0;
  width: 357px;
  height: 314px;
  border: 2px solid var(--club-color) !important;
  border-radius: 7px;
}

.mapboxgl-popup-content-wrapper {
  padding: 1%;
}

.mapboxgl-popup-content div img.logo {
  float: left;
  position: relative;
  width: 54px;
  top: 5px;
  vertical-align: middle;
}

.mapboxgl-popup-content div div.team-name {
  display: inline-block;
  color: var(--club-color);
  vertical-align: middle;
  height: 100%;
  margin-top: 5px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 49px;
}

.mapboxgl-popup-content div span.result {
  float: right;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 31px;
  margin-right: 17px;
  border: 1px solid var(--club-color);
  border-radius: 23px;
  height: 34px;
  margin-top: 13px;
  width: 33px;
  background-color: var(--club-color);
  padding-left: 10px;
}

div.mapboxgl-popup-content > div.home-team {
  margin-top: 10px;
}

div.mapboxgl-popup-content > div.away-team {
  margin-top: 26px;
}

div.mapboxgl-popup-content > div.away-team,
div.mapboxgl-popup-content > div.home-team {
  margin-left: 5px;
}

.mapboxgl-popup-content div.match-details {
  margin-top: 0;
  margin-bottom: 10px;
  padding-top: 0;
  margin-left: 10px;
}

.mapboxgl-popup-content h4 {
  margin: 0;
  display: block;
  padding: 1px 1px 1px 1px;
  font-weight: 400;
}

div.mapboxgl-popup-content > div.features-buttons {
  padding: 4px;
  padding-left: 0;
}

hr.main-description-line-one {
  margin-top: 24px;
  border: 1px solid var(--club-color);
  margin-bottom: 16px;
  margin-right: 9px;
  margin-left: 10px;
}

hr.main-description-line-two {
  margin: 11px 9px;
  border: 1px solid var(--club-color);
}

span.sportmapz-link {
  font-size: 12px;
  margin-left: 116px;
  display: inline-block;
  margin-top: -10px;
}

span.sportmapz-link a.sportmapz-logo-small {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}

span.sportmapz-link img {
  margin-left: -35px;
  width: 100px;
  margin-top: 10px;
  width: 120px;
  vertical-align: bottom;
}

.mapboxgl-popup-content a {
  margin-left: 10px;
  border: 1px solid var(--club-color);
  border-radius: 5px;
  padding: 5px;
  color: #ffffff;
  background-color: var(--club-color);
  width: 169px;
  display: inline-block;
  text-align: center;
}

.mapboxgl-popup-content a:hover {
  color: #404040;
  background-color: #ffffff;
}

.mapboxgl-popup-content div.features-buttons {
  padding: 6px 4px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: (--club-color);
}

.btn-control {
  /* font: bold 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif; */
  background-color: var(--club-color);
  color: #fff;
  position: absolute;
  top: 20px;
  right: 33px;
  z-index: 1;
  border: none;
  width: 150px;
  margin-left: -100px;
  display: block;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
  border: 1px solid #fff;
}

.btn-control:hover {
  background-color: #fff;
  color: var(--club-color);
  border: 1px solid var(--club-color);
}

.sportmapz-logo-small img {
  width: 80px;
}

.mapbox-directions-origin .mapbox-form-label,
.mapbox-form-label {
  background-color: var(--club-color);
}

.mapboxgl-ctrl-top-right .mapboxgl-ctrl {
  margin: 82px 33px 0 0;
  float: right;
}

.mapboxgl-ctrl-geocoder {
  min-width: 180px !important;
  width: 260px;
}

/* .mapboxgl-ctrl-geocoder{
  width: 150px;
} */

.mapboxgl-ctrl-geocoder input[type="text"] {
  margin-left: 20px;
  width: 260px;
}

/* custom control / custom button */
.toggle-layers-control {
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: auto;
  background-image: url(base-map-toggle.svg);
}
/* end custom control / custom button */

button#zoomto {
  width: 260px;
  font-weight: bold;
}

button#subscribe {
  width: 260px;
  font-weight: bold;
  top: 140px;
  background-color: #ff00ff;
}

button#subscribe:hover {
  background-color: #ffffff;
  color: #ff00ff;
}

button#subscribe {
  color: #ffffff;
}

button#subscribe:hover {
  color: #ff00ff !important;
}

/* @media only screen and (max-width: 495px) {
  .mapboxgl-popup-content {
    max-width: 190px;
  }

  .sidebar {
    position: absolute;
    width: 30%;
  }

  .map {
    position: absolute;
    left: 30%;
    width: 70%;
  }

  .mapboxgl-popup-content h4 {
    font-size: 75%;
  }

  .mapboxgl-popup-content h3 {
    font-size: 75%;
  }

  .mapboxgl-popup-content h4.geocadder a {
    font-size: 65%;
  }

  button#zoomto {
    display: none;
  }

  button.fa-home {
    position: absolute;
    bottom: 1%;
    width: 44px;
    height: 44px;
    padding: 4px;
    right: 29%;
    background-color: white;
    color: #8f8f8f;
    border-radius: 50%;
    border: 1px solid #8f8f8f;
    font-size: 23px;
  }

  .fa-home:before {
    content: "\f015"; }

  .heading h1 {
    font-size: 90%;
    font-weight: 700;
    line-height: 20px;
  }

  .listings .item {
    font-size: 78%;
  }
} */

#subscribe > a > p:nth-child(1),
#subscribe > a > p:nth-child(2) {
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: 300;
}
#subscribe > a > p:nth-child(1) > span {
  font-weight: bold;
}

.pricing-comparison {
  color: #ff00ff;
  background-color: #ffffff;
  border: 3px solid #ff00ff;
  left: 30%;
  top: 30px;
  z-index: 2001;
  position: absolute;
  width: 411px;
  height: 428px;
}

body > div.pricing-comparison > h1 {
  text-align: center;
  font-size: 34px;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.pricing-description {
  margin-left: 10%;
  color: #2e3030;
}

body > div.pricing-comparison > h1 > p:nth-child(1) {
  margin: 15px;
}

p.price {
  font-size: 20px;
}

.horizontal-price-line {
  margin-right: 20px;
  margin-left: 20px;
}

div.pricing-comparison{
  display: none;
}

div.pricing-comparison div.pricing-description i{
  color: #ff00ff;
}

div.pricing-comparison a {
  display: inline-block;
  width: 30%;
  margin-left: 10%;
  margin-top: 10px;
  background-color: #ffffff;
  border-radius: 7px;
  text-align: center;
}


div.pricing-comparison a.go-free {
  color: #2e3030;
  border: 1px solid #2e3030;
}

div.pricing-comparison a.go-subscribe{
  color: #ff00ff;
  font-weight: 500;
  border: 1px solid #ff00ff;
}
div.pricing-comparison a.go-subscribe:hover{
  color: #ffffff;
  background-color: #ff00ff;
  font-weight: 500;
}

@media (max-width: 600px) {
  #map {
    position: absolute;
    left: 0;
    width: 100%;
    height: 79%;
  }

  .mapboxgl-ctrl-directions,
  .mapboxgl-ctrl-top-right {
    display: none;
  }

  .sidebar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20%;
    top: 79%;
  }

  .heading {
    background: #fff;
    border-bottom: 1px solid #eee;
    min-height: 21%;
    line-height: 56px;
    padding: 0 10px;
    background-color: var(--club-color);
    color: #fff;
    height: 0;
  }

  .heading > h1 {
    font-size: 90%;
    font-weight: 500;
    line-height: 21px;
    padding-top: 3px;
  }

  p.details-paragraph {
    margin-top: 0;
    margin-bottom: 0;
  }

  .marker {
    height: 40px;
    width: 40px;
    background-size: 40px;
  }

  .mapboxgl-popup-content {
    max-width: 248px;
    font-size: 12px;
    line-height: 1.3em;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 232px;
  }

  div.mapboxgl-popup-content > div.home-team,
  div.mapboxgl-popup-content > div.away-team {
    margin-top: 0;
  }

  .mapboxgl-popup-content div img.logo {
    float: left;
    position: relative;
    width: 32px;
    top: 5px;
    vertical-align: middle;
  }

  .mapboxgl-popup-content div div.team-name {
    display: inline-block;
    color: var(--club-color);
    vertical-align: middle;
    /* height: 89%; */
    margin-top: -3px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 49px;
  }

  hr.main-description-line-one {
    margin-top: 0;
  }

  div.mapboxgl-popup-content > div.features-buttons {
    margin-bottom: -7px;
  }

  #subscribe > p{
    font-weight: 600;
    margin: 0;
  }

  .features-buttons {
    margin: 0;
  }

  .mapboxgl-popup-content a {
    margin-bottom: 9px;
    width: 90%;
    font-size: 14px;
  }

  button#subscribe {
    top: 10px;
    width: 70%;
    margin-left: 30%;
  }

  span.sportmapz-link {
    margin-left: 36%;
  }
  span.sportmapz-link img {
    margin-left: -59%;
  }

  .pricing-comparison {
    display: block;
    color: #ff00ff;
    background-color: #ffffff;
    border: 3px solid #ff00ff;
    left: 0px;
    z-index: 2001;
    position: absolute;
    width: 100%;
	top: 0;
    height: 100%;
  }

  
}





