@font-face {
    font-family: 'Digital';
    src: url('/fonts/ds-digib.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.countdown, .explosion {
    font-family: 'Digital', monospace;
    font-size: 17vw;
    margin: auto;
    text-align: center;
}
.countdown .mins, .countdown .hours, .countdown .secs {
  /* display: inline-block; */
  /* width: 2ch; */
}
.countdown .minus, .countdown .colon {
  /* display: inline-block; */
}

.container-fluid {
    padding: 35px 50px;
    padding-top: 0px;
}
@media (max-width: 800px) {
  .container-fluid {
      padding: 0px;
      padding-top: 0px;
  }
}
@media (min-width: 1200px) {
  #mainSection .main {
        padding: 35px calc(50vw - 585px); 
        padding-top: 0px;
    }
}
.previewContainer {
    text-align: center;
    padding: 20px;
    padding-top: 0px;
}
p {
    text-align: left;
}

.previewImage img {
    max-width: 40%;
}

#navbar-collapse-div .puzzle-label {
  flex: 1; 
  justify-content: flex-end; 
  text-overflow:ellipsis; 
  overflow: hidden;
  padding-left: 10px;
  max-width: 400px;
}
.editor {
  box-sizing: border-box;
  line-height: 1.42;
  height: 100%;
  outline: none;
  overflow-y: auto;
  padding: 12px 15px;
  padding-top: 0px;
  tab-size: 4;
  -moz-tab-size: 4;
  text-align: left;
  white-space: inherit;
  word-wrap: break-word;
}
.row-centered {
    text-align: center;
    justify-content: center;
}
.instructionsShow {
    height: auto;
    overflow: visible;
    white-space: inherit;
}
.nav-link button {
  white-space: nowrap;
}
.nav-link {
  padding-bottom: 0px !important;
}
.navbar-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.backToMain {
    padding: 15px;
    font-size: 25px;
    text-decoration: none;
    color: var(--primary);
}

.backToMain:hover, .backToMain:active, .backToMain:focus {
    text-decoration: none;
}

.navbar .btn .material-icons{
  vertical-align: middle;

}
.reto-title {
  margin-bottom: 0.8rem;
}

.reto-title span{
  padding:0.375rem 0rem; 
  display: inline-block;
}

.reto-hint-li {
  border: 1px solid var(--secondary);
  padding: 10px;
  opacity: 0.6;
  margin-bottom: 20px;
}

.reto-puzzle-li {
  border: 1px solid var(--secondary);
  margin-bottom: 20px;
  padding: 10px;
  opacity: 0.6;

}
.reto-puzzle-li p {
  margin-block-end: 0px;
}

.reto-puzzle-li.reto-puzzle-current {
  opacity: 1;
  border-color: var(--success);
}

.hidden-sol {
  color: var(--info);
  background-color: var(--info);
  margin: 5px;
}

.hidden-sol:hover {
  background-color: var(--light);
  color: var(--dark);
  cursor: help;
} 

.reto-hint-li.reto-hint-current{
  border-color: var(--success);
  opacity: 1;

} 
.cardList {
    width: 100%;
    display: inline-block;
    list-style: none;
    padding-left: 0px;

}
.cardList li {
  width: 100%;

}
.no-req-hints {
  margin-bottom: 0px;
}

#no-info {
  text-align: center;
}
.cardList .card{
    display: inline-block;
    width: auto;
    margin-bottom: 0.3rem !important;
    width: 100%;
}

.cardList .card-body {
  padding: 5px;

}

.popover-p {
  text-align: right;
}

.sol-input {
    margin: auto;
    max-width: 600px;
}

.instructions-button {
  text-align: center;
}
#flassmessages {
  position: fixed;
  bottom: 0px;
  left: 10px;
}

/*.easy-alert {
    position: fixed;
    min-width: 500px !important;
    right: 50% !important;
    left: 50% !important;
    top: 50% !important;
    transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    font-size: 2rem; 
}*/

video {
   margin: auto;
   max-width: 100%;
}
 
.hintAppIframe {
    width: 100%;
    height: 80vh;
    border: none;
}
#hintModal h4 {
  font-size: 1.2rem;
}

#hintAppModal .modal-body {
    padding: 0px;
}

.hints-modal-cats .categories{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 0px;
    align-items: stretch;
    justify-content: space-between;
}


.hints-modal-cats .categories::after{
  content: "";
  flex: auto;
}
.hints-modal-cats .categories .category {
    list-style-type: none;
    /* flex: 1; */
    margin: 3px;
}
.hints-modal-cats .categories .category .cat-button {
    background: transparent;
    outline: none;
    border: none;
    width: 100%;
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    color: var(--success);
}

.hints-modal-cats .categories .category .cat-button:active,
.hints-modal-cats .categories .category .cat-button:hover,
.hints-modal-cats .categories .category .cat-button:focus {
  color: white;
  background: var(--success);
}
.hints-modal-cats .categories .category .cat-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hints-modal-cats .customHint {
    padding: 20px;
    font-size: 1.3em;
}
.btn-hints:disabled {
  pointer-events: none;
}

.btn-hints-modal {
  display: none;
}
.btn-hints-title {
  white-space: nowrap;
}

span.btn-hints-title {
  float:right;
}

.reto-title span.current-pths {
  display: none;
}

.automatic-puzzle .puzzle-title-no-current {
  padding:0.375rem 0rem; 
  display: inline-block;
}

.automatic-puzzle.reto-hint-li.reto-hint-current .puzzle-title-no-current {
  display: none;
}

.reto-hint-li.reto-hint-current .btn-hints-modal {
  display: inline-block;
}
.automatic-puzzle.reto-hint-li.reto-hint-current .current-pths {
  display: inline-block;
}
.reto-hint-li.reto-hint-current .current-pths-number {
  display: inline-block;
}

.btn-hints:disabled {
  opacity: 0.5;
  cursor: not-allowed;

}
.cke_editable {
  padding: 12px;
}

.cke_editable img, .cke_editable video, .cke_editable iframe{
  max-width: 100%;
}

.cke_editable img {
  height: auto;
}

.puzzle-progress {
    transition-timing-function: ease-in-out;
    transition: width 0.5s;
}

progressbar{
  width: 100% !important;
  padding: 38px;
  display: block;
}

.erTitle {
    float: right; 
    flex: 1;  
    text-align: right; 
    padding-right: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.teamName {
    float: right;
}

ranking {
  margin-top: 15px;
  display: block;
}

.ranking-table {
  width: 100%;
  position: relative;
  border: 2px solid var(--primary);
}
.ranking-table .ranking-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  position: absolute;
  width: 100%;
  height: 75px;
  border: 2px solid var(--primary);
}
.ranking-table .ranking-row.ranking-header {
  /*background-color: var(--primary);*/
  font-weight: bolder;
}

.ranking-table .ranking-row.myTeam {
  color: var(--success);
}
.ranking-table .ranking-row div {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px;
}
.ranking-table .ranking-row div b, .ranking-table .ranking-row div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ranking-table .ranking-row .ranking-team {
  width: 20%;
}
.ranking-table .ranking-row .ranking-members {
  flex: 1;
}
.ranking-table .ranking-row .ranking-res {
  width: 10%;
}
.ranking-table .ranking-row .ranking-time {
  width: 15%;
}
.ranking-table .ranking-row .ranking-pos {
  transform: scale(1.5);
}
.ranking-table.singleTeam .ranking-row .ranking-team {
  flex: 1;
}
.ranking-table.singleTeam .ranking-row .ranking-members {
  display: none; flex: 0
}
.ranking-table.singleTeam .ranking-row .ranking-res {
  width: 15%;
}
.ranking-table.singleTeam .ranking-row .ranking-time {
  width: 20%;
}

@media (max-width: 700px) {
  .ranking-table .ranking-row .ranking-team {
    width: 30%;
  }
  .ranking-table .ranking-row .ranking-members {
    display: none;
  }
  .ranking-table .ranking-row .ranking-res {
    width: 35%;
  }
  .ranking-table .ranking-row .ranking-time {
    width: 35%;
  }
  #hintAppModal .categories{
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
    .hints-modal-cats .categories{
      flex-direction: column;
      flex-wrap: nowrap;
      align-items: stretch;
      justify-content: stretch;
    }
    #navbar-collapse-div {
      overflow: hidden;
    }
    
    #navbar-collapse-div #puzzle-form {
      flex-wrap: wrap !important;
      flex-direction: column;
    }
    #navbar-collapse-div #puzzle-form label {
      flex: none !important;
      width: 100%;
      text-align: center;
      justify-content: center !important;
    }

    #navbar-collapse-div #puzzle-form input {
      flex: 1;
      width: 100%;
      margin: 0 !important;
      margin-bottom: 15px !important;
    }
    #navbar-collapse-div button {
      width: 100%;
    }
  
  
}



@media (min-width: 768px){
.navbar-expand-md .navbar-nav .nav-link {
    margin-right: 0.05rem !important;
    padding-right: 0rem !important;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
#navbar-collapse-div #puzzle-form { 
    flex: 1;
  justify-content: flex-end;
  }

}
.ql-video{
  margin: auto;
  display: block;
}

.ql-align-center {
  text-align: center;
}

.ql-align-right {
  text-align: right;
}