/* %%%%%%%%%%%%%%%%%%%% FILTER CSS %%%%%%%%%%%%%%%%%%%%*/

#heading-title {
  font-weight: 1000;
  color: white;
  margin: 0px;
}

.navbar-collapse {
  max-width: 100%;
}

/* .ui-slider-popup {
    position: absolute !important;
    width: 64px;
    height: 64px;
    text-align: center;
    font-size: 36px;
    padding-top: 14px;
    z-index: 100;
    opacity: 0.8;
} */

.search-icon {
  width: 1.2em;
}

.form-check {
  padding-right: 1.25em;
}

#search-icon {
  background-color: transparent;
  border: 0;
  padding-bottom: 10px;
  padding-right: 0;
}

#search {
  margin-bottom: 0.5em;
}

.flex-1 {
  flex: 1;
}

.age-filter {
  display: inline !important;
  width: 7em;
  position: relative;
  top: -20px;
}

.irs-to, .irs-from, .irs-bar, .irs-handle>i:first-child {
  background-color: #40b4ea!important;
}

.irs-to::before,  .irs-from::before{
  border-top-color: #40b4ea!important;
}

.state-filter {
  display: inline !important;
  width: 7em;
}

#runner-count {
  clear: both;
  padding-top: 0px !important;
}

.navbar-toggler {
  float: right;
  padding-top: 0px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 10px;
}

#filter-icons {
  display: inline-block;
}

.navbar {
  top: -1px;
  box-shadow: none;
  padding-bottom: 0px !important;
}

#chip-dish {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0px !important;
}

.chip {
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
}

.clothing-chip{
  margin: 0px 8px 0px -3px!important;
  padding: 1px!important;
}

.filter-title {
  margin: 0px;
}

.border-bottom {
  margin: 8px;
}

.ms-container {
  width: 100%;
  /* float: right; */
}

.ms-selectable {
  width: 100% !important;
}

@media only screen and (max-width: 412px) {
  .perf-container {
    width: 100% !important;
  }
}

.pagination {
  margin: 0px;
}

img {
  box-shadow: none !important;
}

#default-perf-selection {
  font-weight: 900;
}

#default-gender-selection {
  font-weight: 900;
}

.ms-selection {
  display: none;
}

.ms-container {
  padding: 10px;
  padding-top: 0;
}

.tab-content{
  padding:0;
}

#all-tab{
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius:4px;
}

#shoes-tab{
  border-radius:0px;
  border-left:none;
}

#pants-tab{
  border-radius:0px;
  border-left:none;
}

#shirt-tab{
  border-left:none;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 4px;
}

.tab-icon{
  height: 2em;
}

#all-tab-text{
  margin-bottom: 0px;
  position: relative;
  top: 4px;
}

.nav-link.waves-effect.waves-light{
  overflow: unset;
  border: #33b5e5 solid 1px;
  height: 100%;
}

.nav-link.waves-effect.waves-light.active.show,
.nav-link.active.waves-effect.waves-light.active{
  background-color: #33b5e5;
  /* border: none; */
}

.nav-tabs{
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 10px;
  border: none;
  box-shadow: none;
}

#myTab{
  background-color: white;
  padding: 0px;
}

.ms-list{
  height: 100px!important;
}

.special{
  top: 10px;
  position: relative;
  margin-bottom: 1em;
}

.pagination {
  padding: 10px;
  justify-content: center;
  bottom: 0px;
  position: fixed;
  width: 100%;
}

@-webkit-keyframes rotation {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@-moz-keyframes rotation {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.ring {
  position: relative;
  border-radius: 50%;
  background: white;
  background-clip: padding-box;
  padding: 3em;
  -webkit-animation: rotation 1s ease-in-out infinite;
  -moz-animation: rotation 1s ease-in-out infinite;
  animation: rotation 1s ease-in-out infinite;
}
.ring::after {
  position: absolute;
  top: -1em;
  bottom: -1em;
  left: -1em;
  right: -1em;
  background: linear-gradient(40deg, #45cafc 0%, #303f9f 100%);
  content: "";
  z-index: -1;
  border-radius: 50%;
}

.white-circle {
  width: 4em;
  height: 4em;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 50%;
  background: white;
  z-index: 10;
  padding: 3em;
  position: absolute;
  font-family: "Josefin Sans", sans-serif;
  mix-blend-mode: screen;
}

.miro-logo {
  position: relative;
  font-size: 2.5em;
  top: -30px;
  right: 42px;
}
#spinner {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30vh;
  margin-bottom: 30vh;
}

#ohno {
  text-align: center;
  padding: 30vw;
}
.modal{
  z-index: 999999999999999;
}

.modal-content{
  margin-top: 50%;
}
/* %%%%%%%%%%%%%%%%%%%% CARDS CSS %%%%%%%%%%%%%%%%%%%%*/

html {
  height: 100vh;
}

.miro-icon {
      width: 78%;
      align-items: center;
      text-align: center;
      z-index: 10;
}

.logo-row{
  height:4em;
}

.tshirt{
  background-image: url("/img/svg/trans_tshirt_icon.svg");
}

.pants{
  background-image: url("/img/svg/trans_pants_icon.svg");
}

.shoes{
  background-image: url("/img/svg/trans_shoe_icon.svg");
}

.tshirt, .pants, .shoes{
  height: 33.33333333333333333%;
  background-size: cover;
  background-position: center;
}
.clothing-color-column{
  height: 100%;
}

  .clothing-mask{
    background-color: blue;
    height: 140px;
    position: absolute;
  }

.clothing-color-row{
  height: 33.33333333%;
}

.clothing-card-category-icon {
  width: 1.2em;
  height: 100%;
}

.icon-container {
  background-color: lightblue;
  padding: 5px;
  border-radius: 5px;
  margin: 5px;
  width: 10em;
}

:root {
  --null-bg-color: #abccd8;
  --funrun-bg-color: #31c66d;
  --casual-bg-color: #40b9e5;
  --competitor-bg-color: #ffc44f;
  --elite-bg-color: #d64a4a;
}

.NULL {
  background-color: var(--null-bg-color);
}

.FUNRUN {
  background-color: var(--funrun-bg-color);
}

.CASUAL {
  background-color: var(--casual-bg-color);
}

.COMPETITOR {
  background-color: var(--competitor-bg-color);
}

.ELITE {
  background-color: var(--elite-bg-color);
}

img.img-fluid.z-depth-1.placeholder{
  object-fit: cover;
}

.category-icon {
  width: 1em;
  float: right;
}

.lightbox-gender-icon {
  width: 1em;
}

.card-gender {
  float: right;
}

.card-info {
  /* background: #ffffffab; */
  margin-left: 0px;
  margin-right: 0px;
  width: 100%;
  position: relative;
  top:2px
}
.toprow {
  background: #ffffffab;
}

.miro-card-img {
  width: 100%;
  box-shadow: none;
}

.pswp__img {
  /* width: auto !important; */
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.mb-0,
.my-0 {
  font-size: 10px;
}

.card-footer {
  clear: both;
  line-height: auto;
  overflow: hidden;
  height: 100%;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  text-overflow: ellipsis;
  border-radius: 0px !important;
  border: 0px;
  margin-right: -1px;
  position: relative;
  top: -18px;
}
.lb-race-name {
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: bold;
}

.col-3 {
  max-height: 25vw;
  margin-bottom: 8px !important;
}

@media only screen and (min-width: 700px) {
  .col-3 {
    max-width: 16.666667%;
    margin-bottom: -18px !important;
  }
  .img-fluid {
    width: 100%;
    height: 16.666667vw !important;
    object-fit: cover;
  }
  .pagination {
    position: relative;
  }
}

@media only screen and (max-width: 412px) {
  .col-3 {
    margin-bottom: 11px !important;
  }
  .card-footer {
    top: -17px;
  }
}

figcaption {
  line-height: 1em;
}

.mdb-lightbox [class*="col-"] {
  padding: 0;
}

.img-fluid {
  width: 100%;
  height: 24vw;
}

.card-name {
  padding: 0px;
}

.card-name-text {
  text-overflow: ellipsis !important;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 0.5em;
}

.card-age-text {
  padding-left: 0.5em;
}

.card-category,
.card-gender {
  padding-right: 0.4em !important;
}

.runners {
  margin-left: 0px !important;
  margin-right: 0px !important;
  margin-bottom: 40px;
  height: 100% !important;
}

#lightbox-miro {
  padding: 0;
}

#export {
  position: fixed;
  bottom: 7px;
  right: 7px;
}

.clothing-card {
  background-color: white;
  z-index: 9999;
  height: 100%;
  margin: 0px;
  font-size: 12px;
}

.pace-icon {
  width: 1.2em;
  height: 1.2em;
}

.lightbox-name {
  top: -40px;
  padding: 10px;
  color: black;
  background: rgba(255, 255, 255, 0.8);
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}

.lightbox-location {
  top: -40px;
  right: 0px;
  padding: 10px;
  color: black;
  background: rgba(255, 255, 255, 0.8);
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  font-size: 13px;
}

/* .lb-info-icon {
  width: 1.2em;
  margin-left: 3px;
} */

.fa-arrows-h:before {
  font-size: 1.1em;
  margin-left: 1px;
}

.fa-clock-o:before {
  font-size: 1.2em;
  margin-left: 1px;
}
.lightbox-info {
  height: 2em;;
  padding: 0;
  line-height: 2em;
}

.clothing-breakdown {
  padding: 0px!important;
}

.pswp__caption,
.pswp__top-bar {
  height: 9em;
}

.mdb-lightbox figure figcaption {
  display: block;
}

.mdb-lightbox figure figcaption .clothing-card {
  display: none;
}

.pswp__caption__center {
  padding: 0px;
  height: 100%;
}

.pswp__top-bar {
  background-color: rgba(0, 0, 0, 0) !important;
}

.lightbox-runner-info {
  color: black;
  text-align: left;
  font-size: 1.2em;
}

.lightbox-runner-info-text {
  margin-bottom: auto;
}

/* flag */

.flag{
  position: fixed;
  top: 3em;
  z-index: 5000;
}



/* .flag-component label {
  z-index: 5000;
  content: "";
  height: 3rem;
  width: 3rem;
  background-color: #c97f75;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  transition: cubic-bezier(0.48, 0.52, 0.62, 1.25) 0.3s;
}
.flag-component label:hover {
  cursor: pointer;
}
.flag-component .submenu {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  opacity: 0;
  transition: cubic-bezier(0.48, 0.52, 0.62, 1.25) 0.3s;
  z-index: 1;
}
.flag-component .submenu:hover {
  cursor: pointer;
}
.flag-component .submenu svg {
  height: 1.2rem;
  width: 1.2rem;
}
.flag-component .submenu:first-of-type {
  background-color: #fdb9b4;
  transition-delay: 0.2s;
}
.flag-component .submenu:nth-of-type(2) {
  background-color: #ffcab1;
  transition-delay: 0.1s;
}
.flag-component .submenu:last-of-type {
  background-color: #e6d1d8;
}
.flag-component #trigger {
  display: none;
}
.flag-component #trigger:checked ~ label {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
.flag-component #trigger:checked ~ .submenu {
  opacity: 1;
  transition: 0.3s cubic-bezier(0.48, 0.52, 0.62, 1.25);
}
.flag-component #trigger:checked ~ .submenu:first-of-type {
  -webkit-transform: translateY(-4rem);
          transform: translateY(-4rem);
}
.flag-component #trigger:checked ~ .submenu:nth-of-type(2) {
  -webkit-transform: translate(-3rem, -2.9rem);
          transform: translate(-3rem, -2.9rem);
  transition-delay: 0.1s;
}
.flag-component #trigger:checked ~ .submenu:last-of-type {
  -webkit-transform: translateX(-4rem);
          transform: translateX(-4rem);
  transition-delay: 0.2s;
} */