label {
    margin-bottom: 10px;
    display: inline-block;
}

h3 {
  font-size: 30px;
}

.tent_section .btn {
    background-color: #fe0000;
    color: #fff;
    font-size: 14px;
    letter-spacing: .1em;
    margin: 0;
    padding: 13px 10px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: none;
    position: relative;
    text-wrap: auto;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.tent_section .btn:hover {
background-color: #000;
color: #fff;
}
.tent_section .form-control {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    display: inline-block;
    width: auto;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
.tent_main .container {
    max-width: 1460px;
    margin: auto;
    width: 100%;
    padding: 0px 15px;
}
.tent_section {
  display: flex;
  gap: 20px;
}
.tent_draw_aria {
    width: 100%;
}

.tent_section ul {
	list-style:none;
}

.tent_sidebar h3.title {
 margin: 10px 0;
 font-size: 26px;
}

#dancefloorselect, #stageselect {
	font-size: 15px;
  width: 100%;
}
.rotate_btn {
    display: flex;
    gap: 10px;
    align-items: center;
}
.tent_section button {
	font-size: 15px;
}
.draw_aria{
  width: 90%;
}
.draw_aria .button-grid {
    margin: 20px 0;
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tent_sidebar {
  padding: 20px;
  max-width: 360px;
}

.tent_section p {
  margin-bottom: 10px;
}
.stageanddancefloors label {
    display: block;
}
.tent_section main {
  max-width: 1100px;
  padding-left: 20px;
  padding-top: 20px;
}

.input-container {
    display: inline-block;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    padding: 0 5px;
}

.tent_section input[type='number'] {
    border: none;
    text-align: right;
}

.tent_section .icon_degrees {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.tent_section input[type='number']:focus {
    outline: none;
    border: none;
}

.manipulation-heading {
  margin: 20px 0px 10px;
  font-size: 26px;
}

.manipulation_block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
}
.manipulation_block input.btn {
    width: 100%;
}

.dancefloors {
    padding-top: 20px;
    position: relative;
    margin-bottom: 20px;
}

.stages {
    position: relative;
}
.items-menu {
  display: grid;
  gap: 30px 20px;
  grid-template-columns: 150px 150px;
  justify-content: center;
  align-items: center;
}

.tent_section details {

    padding-bottom: 20px;
    
}
.tent_section ul {
    list-style: none;
    text-align: center;
    box-shadow: 0px 0px 1px 1px #2c4365;
    border-radius: 5px;
    padding: 5px;
}


.tent_section details summary {
    list-style: none;
    text-align: center;
    box-shadow: 0px 0px 1px 1px #2c4365;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    line-height: 16px;
}



  .tent_section details summary::-webkit-details-marker {
    display: none; /* special fix, required just for Safari */
  }
  .tent_section details ul {
    z-index:10;
    position: absolute;
    background: white;
    box-shadow: 0px 0px 1px 1px #2c4365;
    margin-top: 10px;
    padding: 15px;
    display: grid;
    gap: 20px 20px;
    grid-template-columns: 150px 150px 150px;
    align-items: center;
  }

.tent_section ul:hover {
    cursor: pointer;
  }
.tent_section details summary:hover {
    cursor: pointer;
  }
  .tent_section details li {
    text-align: center;
    padding: 10px;
    margin: 5px;
    border: solid white;
  }
  .tent_section details li:hover {
    box-shadow: 0px 0px 1px 1px #2c4365;
    border-radius: 5px;
    cursor: pointer;
  }
  .tent_section details li img {
      max-width: 60px;
  }
  .tent_section .arrow {
    border: solid #2c4365;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 5px;
  }

  .tent_section .down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

#eightbythirty_chairs_img {
  padding-bottom: 6px;
}
.tent_label {
  font-size: 16px;
  padding-bottom: 20px;
  width: 500px;
  text-align: left;
}
.tent_types_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-items: start;
  padding-bottom: 20px;
}
.tent_section .types {
  position: relative;
  text-align: center;
  margin: 0;
}
.tent_section figcaption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    display: inline-block;
    width: 70%;
    line-height: 25px;
}
.tent_section .types img {
 
  border: solid white;
  cursor: pointer;
  height:150px;
  transition: all 0.3s ease-in-out;
}
.tent_section .types img.hover,
.tent_section .types img:hover {
  border: solid #fe0000
}
.tent_section .types .active {
  border: solid #fe0000;
}
#chair_count {
  user-select: none;
  outline: none;
}
#tent_type {
  font-weight: bold;
}
.tent_section .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}
.tent_section #RotateSVG {
  width: 50px;
  margin: 0px;
}
.Rotate_Button.hover .tooltiptext {
  visibility: visible;
}
#sixty_round_img {
  width: 78.25px;
}
#sclength32 {
  display: none;
}
#sclength45 {
  display: none;
}
#sclength59 {
  display: none;
}
.td-ruler-toolbar {
  margin-top: 20px;
  margin-bottom: 20px;
}
.td-ruler-toolbar label {
    display: block;
}

.td-ruler-toolbar #tdrulersize {
    width: 100%;
}

@media (max-width: 425px) {
    .tent_section {
        display: flex;
        flex-wrap: wrap; 
        
    }
}

select#shapeType {
    width: 100%;
}

canvas{
    touch-action: auto !important;
}

@media (max-width: 575.98px) {
.tent_section details ul {
    display: flex;
    flex-wrap: wrap;
    width: 62%;
}

ul#list2 {
  left: 68px;
}   
.ts_front p {
    padding: 10px 0px;   
}
}

#list2 li::before, #list2 li::before  {
    display: none !important;
	padding:0px !important;
}

input#shapeWidth {
    width: 80px;
        display: inline-block;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    padding: 0 5px;
}

input#shapeHeight {
    width: 80px;
        display: inline-block;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    padding: 0 5px;
}
.custom-shapes-width-height{
    margin-top: 10px;
    margin-bottom: 10px;
  }

button#addShapeBtn {
    width: 100%;
}
 .chair-table-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 10px 0px;
    font-size: 12px;
    line-height: 1.2;
  }

  .chair-table-grid li {
    padding: 2px 4px;
   
    text-align: left; /* keeps text compact */
    white-space: nowrap; /* prevents wrapping */
    overflow: hidden;
    text-overflow: ellipsis;
  }


input#gridSizeInput{
    width: 80px;
        display: inline-block;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    padding: 0 5px;
}


  .landscape-disclaimer {
              /* hidden by default */
    position: fixed;
    bottom: 0; left: 0; 
    right: 0; 
    padding: 10px 0px;
    background: #ffdd57;
    color: #111;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 99999;
    align-items: center;
    justify-content: center;
  }

  /* .landscape-disclaimer .ld-inner { flex: 1; }
  .landscape-disclaimer .ld-dismiss {
    position: absolute;
    right: 8px;
    top: 6px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
  } */

  /* Optional: only reserve space on small screens (prevent showing on desktop) */
input#manualWidthInput,input#manualHeightInput {
    width: 80px;
    display: inline-block;
    position: relative;
    border: 1px solid black;
    border-radius: 3px;
    padding: 0 5px;
}

#dismissLandscape{
    background-color: #fe0000;
  }

.canvas-div{
  width: 90%;
  max-width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch; 
  border: 1px solid #ccc;
} 

@media (max-width: 768px) {      
  .canvas-div {
      width: 100%;             
      padding: 5px;            
  }
}

@media (min-width: 900px) {
.landscape-disclaimer { display: none !important; }
}

.color-control{
  
    /* padding: .375rem .75rem; */
    display: inline-block;
    width: 10%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}
.add_text{
  width: 100%;
  margin-bottom: 10px;
}