/* hl css */

.rezervace-embed {
  --rez-primary: var(--p-hlavni, #ec6839);
  --rez-secondary: var(--p-sekundarni, #ec6839);
  --rez-light: var(--p-svetla, #fff3ee);
  --rez-dark: var(--p-tmava, #c04e20);
  --rez-text: var(--p-text, #2c2a3f);
}

.rezervace-embed .rezervace-headline {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 6px solid var(--rez-primary);
  background: linear-gradient(90deg, var(--rez-light), rgba(255, 255, 255, 0));
  border-radius: 0.75rem;
}

.rezervace-embed .rezervace-headline h2 {
  margin: 0 0 0.3rem;
  color: var(--rez-text);
}

.rezervace-embed .rezervace-headline p {
  margin: 0;
  color: var(--rez-text);
  opacity: 0.85;
}

.den_tyden{
font-size: 9px;
font-weight: bold;

}
.den_{
line-height: 13px;

}

.celendar{
	margin: 0;
	position: relative;
    /* border: 2px solid #0003; */
    box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
    border-radius: 15px;
    background-color: #fdfdfd;
    border-top: 4px solid var(--rez-primary);
    overflow: hidden;
}

.celendar-wrap {
  margin-bottom: 0;
}

.rezervace-embed .jumbotron > .row {
  row-gap: 1.5rem;
}

.celendar h2 {
  margin: 0;
  padding: 0.8rem 1rem 0.25rem;
  font-size: 1.25rem;
  color: var(--rez-text);
}



@media (min-width: 768px) {
.col-md-4 {
    flex: 0 0 auto;
    width: 30%;
}
}


.rezervace{
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0;
}

.rezervace .header{
color:var(--rez-text);
background: color-mix(in srgb, var(--rez-light) 68%, white 32%);
font-weight: 700;
height: 38px;
font-size: 0.95rem;
}


 .rezervace th, .rezervace td{
  padding: 0;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: calc(100% / 7);
  height: 52px;
  border: 1px solid rgba(44, 42, 63, 0.08);
}


center{
    text-align: center;
    }

.dey{
    cursor: Pointer;
    }
 .occupied{
    background-color: #17a2b8;;
    }
 .free{
  background: linear-gradient(180deg, rgba(84, 214, 138, 0.38) 0%, rgba(84, 214, 138, 0.18) 100%);
  color: #0f5132;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
 .free:hover{
    transform: scale(1.02);
    box-shadow: inset 0 0 0 2px #1f9d55;
 }
 .full{
  background: linear-gradient(180deg, rgba(255, 118, 124, 0.34) 0%, rgba(255, 118, 124, 0.18) 100%);
  color: #8b2d34;
}
     .old{
  background: rgba(44, 42, 63, 0.03);
  color: rgba(44, 42, 63, 0.28);
}

.dey1 {
  background: transparent;
}
.dey:hover {
    cursor: Pointer;
    background-color: #17a2b8;;
    }





























@media (max-width: 768px){
.new_rezervace{width: 95%;top: 10px;}
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

.popup.is-visible {
  display: flex;
}

.new_rezervace {
  width: min(940px, 100%);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
  position: relative;
}
















.






.storno{
position: absolute;
top: 0px;
font-size: 2em;
right: 0;}



.red{background-color: #ff767c;}
.green{background-color: #9effa5;}
.yellow{background-color:#e4ffa4;}




.dey_{    	position: absolute;
			top: 0;
			left: 0;
			background-color: color-mix(in srgb, var(--rez-primary) 86%, black 14%);
			 min-width: 30px;
			  text-align: center;
			  font-weight: bold;
			  border-radius: 0 0 10px 0;
			  padding: 2px 6px;
              color: #fff;
			
			}


.number_{    	position: absolute;
			right: 0;
			bottom: 0;
			padding-right: 7px;
            padding-bottom: 4px;
            font-size: 1rem;
            font-weight: 700;
            color: color-mix(in srgb, var(--rez-primary) 86%, black 14%);}

.old .dey_{
  background: rgba(44, 42, 63, 0.1);
  color: rgba(44, 42, 63, 0.48);
}

.free .dey_{
  background-color: #1f9d55;
  color: #fff;
}

.free .number_{
  color: #137a43;
}

.full .dey_{
  background: #d94b58;
  color: #fff;
}

.full .number_{
  color: #b42334;
}

.slot-cell{
  font-weight: 700;
}

.slot-capacity{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  line-height: 1;
}

.free.slot-cell .slot-capacity{
  background: rgba(255, 255, 255, 0.78);
  color: #137a43;
}

.full.slot-cell .slot-capacity{
  background: rgba(255, 255, 255, 0.72);
  color: #b42334;
}

.message {
position: relative;
line-height: 150%;
border: 1px solid var(--rez-primary);
	font-size: 15px;
    padding: 0rem 2rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
    text-align: left;
 
}
.error{position: fixed;
    top: 0px;
    right: 0;
    width: 100%;

    z-index: 1400;
    background-color: #ffffff;

}
.storno {
color:red;
    position: absolute;
    top: 0px;
    font-size: 1.5em;
    right: 0;
}

.error_control{
	color:red;
    position: absolute;
    top: -10px;
    font-size: 0.8em;
    right: 10px;
      
}
.error_control_red{

        background: #ff01011a;
}

.new_rezervace .has-float-label{
  position: relative;
  display: block;
  margin-top: 0.85rem;
}

.new_rezervace .has-float-label label,
.new_rezervace .has-float-label > span{
  position: absolute;
  cursor: text;
  font-size: 75%;
  opacity: 1;
  transition: all 0.2s;
  top: -0.55em;
  left: 0.75rem;
  line-height: 1;
  padding: 0 0.35rem;
  background: #ffffff;
  color: rgba(44, 42, 63, 0.72);
  z-index: 2;
}

.new_rezervace label{
  display: inline-block;
}

.new_rezervace .form-control{
  min-height: 46px;
  border-radius: 0.6rem;
  border: 1px solid rgba(44, 42, 63, 0.16);
  box-shadow: none;
  background: #fff;
}

.new_rezervace .form-control:focus{
  border-color: var(--rez-primary);
  box-shadow: 0 0 0 0.18rem color-mix(in srgb, var(--rez-primary) 18%, white 82%);
}

.new_rezervace .has-float-label .form-control{
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
}

.rezervace-embed .btn-primary,
.rezervace-embed .btn-outline-primary:hover {
  background-color: var(--rez-primary);
  border-color: var(--rez-primary);
}

.rezervace-embed .btn-outline-primary {
  color: var(--rez-primary);
  border-color: var(--rez-primary);
}
