#ifCad3d.hide, #drawingCont.hide, #imageCont.hide {
    display: none;
}

#ifCad3d.show, #drawingCont.show, #imageCont.show {
    display: flex;
}


#ifCad3d, #imageCont, #drawingCont {
    height: 500px;
    width: 550px;
}

#fullscreenBtn {
    position: absolute;
}

.buttons {
    position: relative;
}

button {
    cursor: pointer;
}

.content-frame {
    justify-content: center;
    display: grid;
}

#cad_download_btn {
    -webkit-text-size-adjust: 100%;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    color: #FFFFFF;
    background-color: #363;
    padding: 10px 43px;
    transition: opacity 300ms;
}

#cad_download_btn:hover,
#showCad:hover, 
#showImage:hover,
#showDrawing:hover,
#fullscreenBtn:hover {
    opacity: 0.8;
}

#cad_format {
    -webkit-text-size-adjust: 100%;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
    background: none;
    text-indent: 0.01px;
    appearance: auto;
   width: inherit;
    height: 44px;
    padding-inline: 10px 20px;
    border: 1px solid #D8D8DA;
}

.cad-selection {
    display: flex;
    width: 100%;
}

#showCad, 
#showImage, 
#showDrawing, 
#fullscreenBtn {
    height: 40px;
    width: 40px;
    background-color: #363;
    color: white;
    opacity: 1;
    transition: opacity 300ms;
}

#fullscreenBtn {
    display: none;
    margin-top: 5px;
}

#fullscreenBtn.show {
    display: block;
}

#showCad i::before, 
#showImage i::before, 
#showDrawing i::before, 
#fullscreenBtn i::before {
    font-size: 20px;
}

#showCad.active, 
#showImage.active, 
#showDrawing.active {
    background-color: white;
    color: #363;
    border: 1px solid #363;
}

#downloadCadMessage {
    margin-top: 10px;
}

a#downloadHere {
    color: #363;
    text-decoration: underline;
    font-weight: bold;
}

#loader {
    display: none;
    position: relative;
    width: 15px;
    height: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 7px solid;
    border-color: rgb(57, 151, 57) #363;
    animation: l1 1s infinite;
  }
  @keyframes l1 {to{transform: rotate(.5turn)}}
  
  #loader.show {
    display: block !important;
  }

  .cad-download-msg-container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .c-block-05__foot {
    height: 34px;
    margin-top: 0 !important;
  }

  #cad_download_btn.disabled {
    user-select: none;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #bebebe;
    color: black;
    border-color:#bebebe;
  }

  button {
    border: none;
  }

  #cad_modal {
    display: none;
  }

  #cad_modal.show {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color:rgba(128, 128, 128, 0.474);
  }

  #cadWindow {
    background: white;
    width: 60%;
    justify-self: center;
    position: relative;
    display: grid;
    top: 10%;
    padding: 20px;
  }

  #closeButton {
    float: right;
    font-size: 25px;
    font-weight: 800;
    cursor: pointer;
    line-height: inherit;
    width: 32px;
    color: #363;
  }