#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;
    display: flex;
    gap: 5px;
}

#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: #3f70bb;
    padding: 10px 43px;
    transition: all 200ms ease-in-out;
    border-radius: 5px;
}

#cad_download_btn:hover,
#showCad:hover, 
#showImage:hover,
#showDrawing:hover,
#fullscreenBtn:hover {
    background-color: #16181a;
}

#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;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
   width: inherit;
    height: 44px;
    padding-inline: 10px 20px;
    border: 1px solid #D8D8DA;
}

.cad-selection {
    display: flex;
    width: 90%;
    gap: 5px;
}

#showCad, 
#showImage, 
#showDrawing, 
#fullscreenBtn {
    height: 40px;
    width: 40px;
    background-color: #3f70bb;
    color: white;
    opacity: 1;
    transition: all 200ms ease-in-out;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fullscreenBtn {
    display: none;
    margin-top: 5px;
}

#fullscreenBtn.show {
    display: flex;
}

#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: #3f70bb;
    border: 1px solid #3f70bb;
}

#downloadCadMessage {
    margin-top: 10px;
}

a#downloadHere {
    color: #3f70bb;
    text-decoration: underline;
    font-weight: bold;
}

#loader {
    display: none;
    position: relative;
    width: 25px;
    height: 25px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 7px solid;
    border-color: #16181a #3f70bb;
    animation: l1 1s infinite;
  }
  @keyframes l1 {to{transform: rotate(.5turn)}}
  
  #loader.show {
    display: block;
  }

  .cad-download-msg-container {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .c-block-05__foot {
    height: 34px;
    margin-top: 0 !important;
  }

  button {
    border: none;
  }

  #cad_download_btn.disabled {
    background: #bebebe;
    color: black;
    user-select: none;
    pointer-events: none;
  }