/* assignment popover */
.assignments-wrapper .flex-horizontal:empty {display: none;}
.badge-button-parent button.tlacitko.medium {padding: 1px 24px 3px 8px;}
.assignments-wrapper button.tlacitko.medium {padding: 4px 24px 6px 8px; min-height: 29px;}

.badge-button-parent button.tlacitko.medium.hw-new-button-visible,
.badge-button-parent button.tlacitko.medium.hw-new-button-hidden,
.secondary-box button.tlacitko.medium.hw-new-button-visible,
.secondary-box button.tlacitko.medium.hw-new-button-hidden
{padding: 1px 10px;}

.badge-button-parent button.tlacitko.medium.selected,
.secondary-box button.tlacitko.medium.selected
{color: white; background-color: var(--black); border-color: var(--blackHover);}

.badge-button-parent .message {margin-bottom: var(--unit);}
.badge-button-parent .message > div:nth-of-type(1) {flex-shrink: 0;}
.badge-button-parent .message > div {padding: 10px 12px;}
.badge-button-parent .message span {line-height: 110%;}

.tlacitko.secondary.homework-present, .tlacitko.secondary.homework-present:hover {
  background-image: url("https://www.umimeto.org/asset/global/img/icons-umime/icon-pin-blue.svg");
  background-repeat: no-repeat;
  background-position: right 3px top 4px;
  background-size: auto 17px;
}
.badge-button-parent button.tlacitko.medium.selected.homework-present,
.secondary-box button.tlacitko.medium.selected.homework-present
{
  background-image: url("https://www.umimeto.org/asset/global/img/icons-umime/icon-pin-white.svg");
  background-repeat: no-repeat;
  background-position: right 3px top 4px;
  background-size: auto 17px;
}

.animate-hide {
  animation: hideAnimation 0.5s forwards;
}

@keyframes hideAnimation {
  to {
    opacity: 0;
    height: 0;
  }
}

/******************* SEGMENT CONTROL ********************************/
#content .segment-control{
  display: inline-flex;   
  align-items: center;  
  justify-content: center;
  flex-wrap:wrap;

  color:#2c3e50;
  font-size: 16px;
  line-height: 1.6em; 
  margin: 20px 0px;
}

#content .segment-button{  
  display: inline-block;
  color: var(--blue);
  color: var(--grayHover);
  background-color: var(--lightGray);
  padding: 2px 10px;
  border-bottom:1px solid var(--lightGray);
}
#content .segment-button:hover{
  color:white;
  background-color: var(--blue);
}
#content .segment-button.borderLeft{
  border-left:1px solid var(--lightGray);
}
#content .segment-button.selected{
  color:white;
  background-color: var(--blue);
}

/********************* AVATAR BOX  ********************************/
.multistripe {display: grid;
  gap: 1rem;
  grid-template-columns: 10fr minmax(130px, 2fr);
  align-items: center;}

.multistripe .bubble {height: 100%;
  max-width: 410px;}

.multistripe > div {
  column-gap: 30px;
  row-gap: 15px;
  width: 100%;
}

.main-avatar {display: block;}

@media (max-width: 600px) {
  .multistripe>div {
    flex-wrap: wrap;
  }

    .multistripe>.flex-horizontal>div:nth-child(2) {
    width: 100%;
  }

  .main-avatar {
    display: none;
  }

  .multistripe .bubble,
  .multistripe .bubble div {
    max-width: 100%;
    width: 100%;
  }

  .multistripe {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/********************* EXERCISE BUTTON ********************************/

#content .todayPanel{
  display: flex;
  /* grid-template-columns: repeat(5, minmax(35px, 1fr));
  grid-auto-rows: auto; */
  gap: calc(var(--unit) / 2);
  justify-content: flex-start;
  align-items: center;  
  margin-bottom: 10px;
  flex-wrap: wrap;
  /* background-color: var(--lightGray); */
}
#content .todayPanel div {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  gap: calc(var(--unit) / 1.5);
  background-color: var(--lightGray);
  border-radius: 7px;
  padding: 4px 5px;
}

#content .todayPanel img{
  height:29px;
}

#content .todayPanel p{  
  margin: 0px;
}

#content .exercise-button{    
  display: inline-flex;                 
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  
  font-size: 16px;
  margin-right: 45px;
  margin-bottom: 30px;  
  text-align: center;
  width: 95px;
  color: var(--black);

}

#content .exercise-button img{  
  height: 65px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2);
  border-radius: 10px;  
  margin-bottom: 15px;
  padding:5px;
  background-color: white;
}

#content .exercise-button:hover img{ 
  opacity: 0.8;  
}

#content .exercise-button.small{    
  margin-right: 10px;  
  margin-bottom: 5px;  
}

#content .exercise-button.small img{
  height: 60px;
  margin-bottom: 10px;
}

/********************* USER BUTTON ********************************/

#content .user-button{      
  display: flex;                 
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  flex: 1;
  font-size: 14px;  
  margin-bottom: 0px;
  padding-bottom: 5px;    
  text-align: center;
  color: var(--black);
  flex-shrink: 0;
  flex-grow: 0;
}

#content .user-button:hover {text-decoration: none;}

#content .user-button img{  
  height: 50px;
  margin-bottom: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.0);
  border-radius: 10px;  
}

#content .user-button:hover img{ 
  opacity: 0.8;  
}



/********************* BADGE BUTTON ********************************/

#content .badge-button{      
  display: inline-flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap:nowrap;
  text-decoration: none;
  border-radius: 3px;
  padding: 1px 3px;
  color: var(--black);
  overflow: hidden;
  /* color: #7f8c8d;
  border: 1px solid #dfdfe1;
  background-color: var(--lightGray);
  border-bottom: 1px solid #cad6e7;
  border-bottom: 1px solid var(--grayHover);*/    
  /* colors are inherited from secondary button */
}

#content .badge-button img, #content .tlacitko img, #content .badge-button div{  
  width: 24px;
  margin: 2px; /* TOP A STRANY */
}

#content .badge-button .crystal-progress {display: flex; flex-direction: column; width: 24px; height: 24px; justify-content:flex-end; background: url("https://www.umimeto.org/asset/global/img/badges/crystal-blue-nav-demo.svg") top center no-repeat;}

#content .badge-button.yellow .crystal-progress {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow-nav-demo.svg");}
#content .badge-button.violet .crystal-progress {background: url("https://www.umimeto.org/asset/global/img/badges/trophy-nav.svg") top center no-repeat; background-size: contain;}

#content .badge-button span:first-of-type{ 
  width: 68px;
  padding: 0 10px;
  text-align: center;} 

#content .badge-button .crystal-progress span, #content .badge-button .level-progress span {border: 1.5px solid var(--black); width: 100%; height: 6px; display: block; border-radius: 1.5px; overflow: hidden; background-color: var(--lightGray); padding: 0; margin: 0;}

#content .badge-button .crystal-progress span span, #content .badge-button .level-progress span span {display: block; background-color: var(--blue); height: 100%; border: none; border-right: 1px solid var(--blueHover); border-radius: 0; }

#content .badge-button.yellow .crystal-progress span span {background: var(--yellow); border-right: 1px solid var(--yellowHover);}

.badge-button .level-progress, .badge-button .level-progress-steps {display: flex; align-items: center; flex-direction: column;}
.badge-button .level-progress img, .badge-button .level-progress-steps img {padding: 0; margin: 0 !important; height: 19px; width: auto;}
#content .badge-button .level-progress span span {background: var(--violet); border-right: 1px solid var(--violetHover);}

#content .badge-button .level-progress-steps span {width: 100%; height: 6px; display: block; background-color: var(--lightGray); padding: 0; margin: 0;}
.badge-button .level-progress-steps table td {height: 6px;}
.badge-button .level-progress-steps table {overflow: hidden; border: none; border-radius: 1.5px;}

.badge-button .button-table-wrapper {margin-right: 5px; min-width: 75px; display: flex; align-items: flex-start;}
.badge-button .button-table-wrapper-inner {border-radius: 3px; border: 1.5px solid var(--black); overflow: hidden; padding: 0 !important; margin: 0 !important; width: auto !important;}
.badge-button table {padding: 0; margin: 0; border-collapse: collapse;}
.badge-button span span table td {padding: 0; border-left: 1.5px solid var(--black); border-right: 1.5px solid var(--black); width: 10px; height: 12px; border-bottom: none;}
.badge-button span span table td:first-child {border-left: none}
.badge-button span span table td:last-child {border-right: none}
.badge-button table td:not([class]) {background: rgba(255,255,255,0.25);}


/********************* EXERCISE ITEM BASED MAP ********************************/

.exercise-grid {
  display: grid;
  /* width: 100%; */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-auto-rows: 1fr;
  gap: 6px;
}

.exercise-item{    
  width: 100%;
  height:100%;
  border-radius: 6px;
  gap:5px;
  display: inline-flex;
  flex-direction:row;  
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;  
  cursor:pointer;  
  padding: 5px 10px;  
  border: 1px solid #dfdfe1;
  font-size: 16px;
}

.exercise-item p{
  margin:0px;
}

.exercise-item.not-attempted{    
  color:var(--black);
  background-color: var(--gray);  
  background-color: var(--lightGray);
}
.exercise-item.not-attempted:hover{
  color: var(--black);
  background-color: var(--grayHover);  
  background-color: var(--lightGray);  
  text-decoration: none;
}

.exercise-item.attempted{    
  color: var(--black);  
  background-color: var(--grayHover);  
  background-color: var(--lightGray);
}
.exercise-item.attempted:hover{
  color: var(--black);
  background-color: var(--yellowHover);  
  background-color: var(--grayHover);  
  background-color: var(--lightGray);  
  text-decoration: none;
}


.exercise-item.solved{    
  color:white;        
  background-color: var(--black);
  border: var(--blackHover);
}
.exercise-item.solved:hover{  
  color:white;  
  background-color: var(--blackHover);  
  text-decoration: none;
}


.exercise-item span{
  background-color: transparent;      
}
.exercise-item span img{
  display:inline-block;
  height: 27px;  
}

.exercise-item.solved img{
  filter: drop-shadow(0px 0px 5px #3498db);
}

.exercise-item.solved.yellow-crystal img {
  filter: drop-shadow(0px 0px 5px #f1c40f);
}

/********************* LEARNING ITEM MAP ********************************/

img.badge{
  height: 24px;  
  margin:2px 5px;
}

.learning-item{
  width: 50px;
  display: inline-flex;  
  flex-direction:column;
  align-items: center;  
  justify-content: center;

  color: #FFFFFF;  
  cursor:pointer;  
  padding: 5px;
  color:white;
  margin:2px;
  border-radius: 3px;  
}
.learning-item p{
  margin:0px;
}

.learning-item{ background-color: #d8e0eb; }
.learning-item:hover{ background-color:  #bdc3c7; }
.learning-item.level1{ background-color: #9beac2; border-color:#93deb7; }
.learning-item.level2{ background-color: #5ddc9c; border-color:#58d094; }
.learning-item.level3{ background-color: #16ca68; border-color:#15bf62; }
.learning-item.level4{ background-color: #15bf62; border-color:#15bf62; }

.learning-item.orange{ background-color: #ffe600;  }
.learning-item.level-x0{ background-color: #d8e0eb; }
.learning-item.level-x1{ background-color: #00baf7; }
.learning-item.level-x2{ background-color: #32d4fa; }
.learning-item.level-x3{ background-color: #8ce6fd; }
.learning-item.level-x4{ background-color: #8ce6fd; }

/********************* THERMO METERS ********************************/

#content .meter{
  background-color: #ecf0f1;
  background-color: var(--lightGray);
  height: 15px;
  border-radius: 10px;  
  overflow: hidden;
  text-align: left;
  width: 100%;
}

#content .meter.big{  
  width: 100%;
}

#content .meter.small{
  width: 160px;
  border-radius: 3px;  
}

#content .meter-fill{
  height: 100%; 
  display: inline-block;
}

#content .meter-fill.red{
  background-color: var(--red);
}
#content .meter-fill.blue{
  background-color: var(--blue);
}
#content .meter-fill.green{
  background-color: var(--green);
}
#content .meter-fill.yellow{
  background-color: var(--yellow);
}

#content .meter-fill.blue2{ background-color: #1296e3; }
#content .meter-fill.blue3{ background-color: #df56fb; }
#content .meter-fill.blue4{ background-color: #a29afb; }

/********************* BAR PLOT ********************************/
#content .bar-wrap{
  display: inline-block;
}
#content .bar-wrap.nooverlap{
  overflow: hidden; 
}
#content .bar-plot{
  display: flex;
  justify-content: flex-start;
  align-content:center;
  height: 200px;
  gap: 4px;  
}

#content .bar-plot.small{
  height: 100px;
}

#content .bar-heading{
  text-align: center;
  padding:5px 0px;
}

#content .bar-legend{
  display: flex;
  justify-content: space-between;
  align-content:center;
  padding:5px 0px;
}

#content .bar-heading p, #content .bar-legend p{
  margin:0px;
}
  
#content .bar{  
  display: inline-flex;
  justify-content: flex-start;
  align-items:flex-end;
  width:21px;
  height:100%;
  border-radius: 3px;  
  overflow: hidden;  
}
#content .bar.thin{  
  width:8px;     
}
#content .bar.fat{  
  width:200px;     
}
#content .bar.fat h1{  
  margin:0px;
  color: white;
  text-align: center;
}
#content .bar.gray{  
  background-color: #ecf0f1;  
  background-color: var(--lightGray);
}
#content .bar-fill{  
  border-radius: 3px;  
  width:100%;
  height: 0px;
}

#content .bar-fill.blue{
  background-color: var(--blue);
}
#content .bar-fill.green{
  background-color: var(--green);
}
#content .bar-fill.red{
  background-color: var(--red);
}
#content .bar-fill.yellow{
  background-color: var(--yellow);
}
#content .bar-fill.lightblue{
  background-color: var(--blue);
}

/* ODSTINY MODRE + FIALOVE */
#content .bar-fill.blue1{ background-color: #16a6fc; }
#content .bar-fill.blue2{ background-color: #1296e3; }
#content .bar-fill.blue3{ background-color: #df56fb; }
#content .bar-fill.blue4{ background-color: #a29afb; }

/******************* LOGO ********************************/

#content .logo-first{
  font-family: 'Roboto', sans-serif;   
  font-weight:700;   
}

/*
.logo-first.green{ color: #00ca65; }
.logo-first.violet{ color: #a840b7; }
.logo-first.blue{ color: #0596de; }
.logo-first.darkblue{ color: #0d7dba; }
.logo-first.red{ color: #f62c31; }
.logo-first.yellow{ color: #f3c92a; }
*/

.logo-first.green{ color: var(--green); }
.logo-first.violet{ color: var(--violet); }
.logo-first.blue{ color: var(--blue); }
.logo-first.darkBlue{ color: var(--darkBlue); }
.logo-first.red{ color: var(--red); }
.logo-first.yellow{ color: var(--yellow); }

#content .logo-second{
  font-family: 'Roboto', sans-serif;  
  color:#34495e;  
}


/******************* DOTS ********************************/
#content .dot{
  border-radius:20px; 
  display:inline-block; 
  margin:0px 5px;
  vertical-align:middle; 
}
#content .dot.small{
  width:5px; 
  height:5px;   
}
#content .dot.medium{
  width:10px; 
  height:10px; 
}
#content .dot.large{
  width:15px; 
  height:15px;   
}
#content .dot.mega{
  width:20px; 
  height:20px; 
}
#content .dot.white{
  background-color: white;
}
#content .dot.green{
  background-color: var(--green);
}
#content .dot.orange{
  background-color: var(--orange);
}
#content .dot.red{
  background-color: var(--red);
}
#content .dot.blue{
  background-color: var(--blue);
}
#content .dot.gray{
  background-color: #bcc3c7;
  background-color: var(--gray);
}
#content .dot.selected{
  border:2px solid var(--grayHover);
}


/******************* SQUARES ********************************/
#content .square{  
  color:white;
  border-radius:3px;   
  margin:0px 1px;  
  vertical-align:middle;
  display: inline-flex;                 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center center;
}
#content .square.tiny{
  font-size: 16px;
  width:15px; 
  height:15px;
}
#content .square.small{
  font-size: 16px;
  width:20px; 
  height:20px;
}
#content .square.medium{
  font-size: 16px;
  width:25px; 
  height:25px; 
}
#content .square.large{
  font-size: 20px;
  width:40px; 
  height:35px; 
}
#content .square.medium.wide{ 
  width:auto;
  height:25px; 
  padding:0px 5px;
}
#content .square.large.wide{ 
  width:auto;
  font-size: 20px;  
  padding:0px 5px;
}
#content .square.lightGray{  
  background-color: var(--lightGray);
}
#content .square.gray{  
  background-color: var(--gray);
}
#content .square.green{
  background-color: var(--green);
}
#content .square.orange{
  background-color: var(--orange);
}
#content .square.yellow{
  background-color: var(--yellow);
}
#content .square.red{
  background-color: var(--red);
}
#content .square.blue{
  background-color: var(--blue);
}
#content .square.violet{
  background-color: var(--violet);
}

/******************* CIRCLE ********************************/

#content .circle{    
  color:white; 
  text-align:center;     
  box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.0); 
}  

#content .circle.large{    
  width:52px; 
  height:52px; 
  font-size:30px; 
  line-height:50px;   
  border-radius:50px;   
}

#content .circle.green{    
  border-bottom:1px solid #00b861;
  background-color:#00d872; 
  margin-right:20px;
}


/******************* BIG SHIELD ********************************/
#content .big-shield{
  display: inline-block;  
  text-align: center;
  color:white;
  background-image: url("https://www.umimeto.org/img/velky-stit@2x.png"); 
  background-repeat: no-repeat;
  background-position: center center;  
  background-size: 82px 100px;
  width: 65px;
  height: 100px;    
  font-size: 22px;
  line-height: 100px;  
}

/*********************** BADGE â†’ LABEL **************************/
.label {background: var(--faintGray);
  color: var(--black);
  padding: 4px 6px;
  border-radius: var(--unit);
  gap: calc(var(--unit) * 0.75);
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;}

.label img, .statusicon {display: inline-block; text-align: center; width: 24px; height: 24px; vertical-align: middle;}
.statusicon.medium {width: 20px; height: 20px;}
.statusicon.small {width: 14px; height: 14px;}


/* label pro nastenku */

.label-noticeboard {background: var(--faintGray);
  padding: 1px 6px;
  margin: 1px auto;
  display: inline-block;
  border-radius: calc(var(--unit) / 1.5);
 }

/* labely s malÃ½mi ikonami za */

.icon-bluecrystal, .icon-yellowcrystal, .icon-shield, .icon-trophy, .icon-trophy-inactive {position: relative; margin-right: 3px; padding-left: .5rem; padding-right: .5rem;}

.icon-trophy:after {
  background: url("https://www.umimeto.org/asset/global/img/badges/trophy-darker.svg");
}

.icon-trophy-inactive:after {
  background: url("https://www.umimeto.org/asset/global/img/badges/trophy-inactive-darker.svg");
}

.icon-bluecrystal:after {
  background: url("https://www.umimeto.org/asset/global/img/badges/crystal-blue-1-full.svg");
}

.icon-yellowcrystal:after {
  background: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow.svg");
}

.icon-shield:after {
  background: url("https://www.umimeto.org/asset/global/img/badges/shield-blank.svg");
}

.icon-shield-3:after {background: url("https://www.umimeto.org/asset/global/img/badges/shield-3.svg");}
.icon-shield-4:after {background: url("https://www.umimeto.org/asset/global/img/badges/shield-4.svg");}

.icon-bluecrystal:after, .icon-yellowcrystal:after, .icon-shield:after, .icon-trophy:after, .icon-trophy-inactive:after {content: ''; display: block; position: absolute; top: 0; right: 0; translate: 9px -6px; background-size: contain; background-repeat: no-repeat; width: 18px; height: 18px;}

/* labely pro ukÃ¡zÃ¡nÃ­ postupu v DÃš, na nÃ¡stÄ›nce */

.crystal-blue-1 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-blue-1.svg"); background-size: contain; background-color: var(--black); border: 2px solid var(--black)}
.crystal-half-1 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-half-1.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-gray-1 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-grey-1.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-blue-2 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-blue-2.svg"); background-size: contain; background-color: var(--black); border: 2px solid var(--black)}
.crystal-half-2 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-half-2.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-gray-2 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-grey-2.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-blue-3 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-blue-3.svg"); background-size: contain; background-color: var(--black); border: 2px solid var(--black)}
.crystal-half-3 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-half-3.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-gray-3 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-grey-3.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}

.crystal-yellow-3 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow-3.svg"); background-size: contain; background-color: var(--black); border: 2px solid var(--black)}
.crystal-yellow-2 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow-2.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-yellow-1 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow-1.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}
.crystal-yellow-0 {background-image: url("https://www.umimeto.org/asset/global/img/badges/crystal-yellow-0.svg"); background-size: contain; background-color: var(--lightGray); border: 2px solid var(--lightGray)}

/******************* VITE JAK ********************************/
/*
#content .vite-jak{
  text-align: center;
}  
#content .vite-jak img{
  margin:0px;  
  display: inline-block;
  max-width:200px;
}

#content .vite-jak .card{

  display: inline-block;  
  vertical-align: middle;     
  cursor: pointer;
  margin: 5px; 
  padding:10px; 
  min-width: 270px; 
  margin-bottom:0px;
  margin-top:9px;  

  color: #2d3e4f;
  font-size: 26px;    
  font-weight: 400;        
  color: black;
  text-align: center;  
  background-color: white;
      
  border: 1px solid #7f8c8d;
  border-radius:2px;
  
  border-radius:6px;
  border: 2px solid white;
  margin: 10px;
  box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.1);  
      
}

#content .vite-jak .card:hover{ 
  color: #2d3e4f;
  border: 2px solid #3498db;
  text-decoration: none;  
}
*/

/********************** MOBILNI VERZE *****************************/
@media screen and (max-width: 1024px) {
  /* start of tablet styles */

}

@media screen and (max-width: 800px) {
  /* start of small tablet styles */
  #content .todayPanel {
      grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }

  #content .bar{
    /* width:15px;     */
  }
  
  #content .bar.thin{  
    /* width:6px;      */
  }


}

@media screen and (max-width: 550px) {
  #content .exercise-button{
    margin-right: 15px;
    margin-bottom: 15px;
    width: 80px;
  }

  #content .exercise-button img{  
    height: 70px;
  }

  #content .segment-button{
    padding: 5px 5px;    
  }

  #content .bar{
    /* width:8px;         */
    /* margin: 1px; */
  }

  #content .bar.thin{
    width:3px;        
    /* margin: 1px; */
  }

  #content .meter.small{
    max-width: 130px;    
  }

  .exercise-item{  
    width: 100%;
    height:100%;
    border-radius: 6px;
  }

}
