/*** GTAlpina font ***/
@font-face {
  font-family: 'GTA-light';
  src: url('../woff/GT-Alpina-Standard-Light.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'GTA-regular';
  src: url('../woff/GT-Alpina-Standard-Regular.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
/*** Media sans font ***/
@font-face {
  font-family: 'media-bold';
  src: url('../woff/MediaSansWeb-Bold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
}
.defaultPolice {
  font-family: 'GTA-light';
}
#calendrier {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 20px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  z-index: 16;
}
#calendrier .cal-root {
  width: 100%;
  padding: 0 20px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
}
#calendrier .cal-root .detail-panel {
  width: 100%;
  position: relative;
  background: rgba(77, 77, 77, 0.9);
  border-radius: 16px;
  padding: 10px 0;
  margin-bottom: 10px;
  min-height: 100px;
  transition: opacity .2s;
}
#calendrier .cal-root .detail-panel.empty {
  display: none;
}
#calendrier .cal-root .detail-panel .detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  background: #000;
  color: #fff;
}
#calendrier .cal-root .detail-panel .detail-date {
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  font-weight: 700;
}
#calendrier .cal-root .detail-panel .detail-empty-msg {
  font-size: 13px;
  color: #555555;
}
#calendrier .cal-root .detail-panel .capsules-list {
  width: 100%;
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  grid-auto-rows: auto;
  gap: 10px;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule {
  width: 100%;
  max-width: 320px;
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e1e1e;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 8px 14px 8px 8px;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-capsule-img-placeholder {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #2a2a2a;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #333;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info .s-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info .s-desc {
  width: 100%;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.2;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info .s-hour {
  margin-top: 2px;
  font-size: 11px;
  color: #ffffff;
}
#calendrier .cal-root .strip-row {
  width: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  overflow: hidden;
  background: #111111;
  border-radius: 999px;
}
#calendrier .cal-root .strip-row .arrow-btn {
  height: 30px;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  margin: 20px 0 0 0;
  padding: 0 8px;
  border: none;
  background: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 50px;
  opacity: .6;
  transition: opacity .15s;
}
#calendrier .cal-root .strip-row .arrow-btn:hover {
  opacity: 1;
}
#calendrier .cal-root .strip-row .month-label {
  min-width: 48px;
  flex-shrink: 0;
  padding: 0 8px 0 2px;
  color: #ffffff;
  font-size: 32px;
  line-height: 32px;
  font-family: 'media-bold';
}
#calendrier .cal-root .strip-row .days-area {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  margin: -13px 0 0 0;
}
#calendrier .cal-root .strip-row .days-area .day-cell {
  flex: 1;
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding: 5px 7px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .1s;
}
#calendrier .cal-root .strip-row .days-area .day-cell:hover {
  background: rgba(255, 255, 255, 0.08);
}
#calendrier .cal-root .strip-row .days-area .day-cell.selected:before {
  content: "";
  width: 100%;
  height: 5px;
  display: flex;
  position: absolute;
  bottom: -5px;
  background-color: #ffffff;
}
#calendrier .cal-root .strip-row .days-area .day-cell .day-lbl {
  margin-bottom: 1px;
  font-size: 10px;
  color: #555555;
  font-size: 16px;
  font-family: 'GTA-light';
  font-style: italic;
}
#calendrier .cal-root .strip-row .days-area .day-cell .day-num {
  display: block;
  position: relative;
  color: #555555;
  font-size: 24px;
  line-height: 24px;
  font-family: 'media-bold';
}
#calendrier .cal-root .strip-row .days-area .day-cell .event-dot {
  width: 4px;
  height: 4px;
  margin-top: 3px;
  border-radius: 50%;
  background: #5cba8a;
  visibility: hidden;
}
#calendrier .cal-root .strip-row .days-area .day-cell.has-event .day-lbl {
  color: #aaaaaa;
}
#calendrier .cal-root .strip-row .days-area .day-cell.has-event .day-num {
  color: #ffffff;
  font-weight: 700;
}
#calendrier .cal-root .strip-row .days-area .day-cell.has-event .event-dot {
  visibility: visible;
}
#calendrier .cal-root .strip-row .days-area .day-cell.today .day-num {
  /***&:before{
                content: "";
                width: 100%;
                height: 5px;
                display: flex;
                position: absolute;
                bottom: -10px;
                background-color: @color-white;
              }***/

}
#calendrier .cal-root .strip-row #cal-status-blocks {
  flex-direction: row;
}
#calendrier .cal-root .strip-row .status-blocks {
  margin-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
#calendrier .cal-root .strip-row .status-blocks .status-block {
  min-width: 100px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}
#calendrier .cal-root .strip-row .status-blocks .status-block.open {
  border: 1px solid rgba(255, 255, 255, 0.5);
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-title {
  font-size: 16px;
  font-family: 'media-bold';
  color: rgba(255, 255, 255, 0.4);
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-title.sel {
  color: #ffffff;
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-status {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'GTA-light';
  font-size: 14px;
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-status.sel {
  color: #ffffff;
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-hour {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'GTA-light';
  font-size: 14px;
}
#calendrier .cal-root .strip-row .status-blocks .status-block .sb-hour.sel {
  color: #ffffff;
}
@media (max-width: 1350px) {
  #calendrier .cal-root {
    flex-direction: row;
  }
  #calendrier .cal-root .strip-row {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 8px 50px;
    position: relative;
  }
  #calendrier .cal-root .strip-row .days-area {
    margin: 0 auto;
  }
  #calendrier .cal-root .strip-row .arrow-btn {
    position: absolute;
  }
  #calendrier .cal-root .strip-row .arrow-btn#cal-prev {
    left: 0;
  }
  #calendrier .cal-root .strip-row .arrow-btn#cal-next {
    right: 0;
  }
  #calendrier .cal-root .strip-row #cal-status-blocks {
    margin: 10px 0 0 0;
  }
}
/***@media (max-width:1000px){
  #calendrier{
    .cal-root{
      .strip-row{
        .days-area{
          .day-cell{
            .day-num{
              .T(18);
              line-height: 18px;
            }
          }
        }
      }
    }
  }
}
@media (max-width:900px){
  #calendrier{
    .cal-root{
      .strip-row{
        .days-area{
          .day-cell{
            .day-num{
              .T(14);
              line-height: 14px;
            }
          }
        }
      }
    }
  }
}***/
@media (max-width: 640px) {
  #calendrier .cal-root .strip-row {
    padding: 8px 25px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
  }
  #calendrier .cal-root .strip-row .status-blocks .status-block {
    min-width: 40px;
    padding: 4px;
  }
  #calendrier .cal-root .strip-row .status-blocks .status-block .sb-title,
  #calendrier .cal-root .strip-row .status-blocks .status-block .sb-status,
  #calendrier .cal-root .strip-row .status-blocks .status-block .sb-hour {
    font-size: 10px;
  }
  #calendrier .cal-root .strip-row .month-label {
    min-width: 36px;
    font-size: 16px;
    margin: 10px 0 0 0;
  }
  #calendrier .cal-root .strip-row .days-area .day-cell {
    min-width: 32px;
    padding: 4px;
  }
  #calendrier .cal-root .strip-row .days-area .day-cell .day-num {
    font-size: 15px;
  }
  #calendrier .cal-root .strip-row .days-area .day-cell .day-lbl {
    font-size: 9px;
  }
  #calendrier .cal-root .detail-panel .capsules-list {
    grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  }
  #calendrier .cal-root .detail-panel .capsules-list .show-capsule {
    max-width: 200px;
    min-width: 140px;
  }
  #calendrier .cal-root .detail-panel .capsules-list .show-capsule img {
    width: 40px;
    height: 40px;
  }
  #calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info {
    max-width: 125px;
  }
  #calendrier .cal-root .detail-panel .capsules-list .show-capsule .show-info.fullWidth {
    max-width: 100%;
  }
}
