#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;
    
}

#cad_download_btn {
    -webkit-text-size-adjust: 100%;
    --fa-style-family-brands: "Font Awesome 6 Brands";
    --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
    --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
    --fa-style-family-classic: "Font Awesome 6 Free";
    --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    box-sizing: inherit;
    text-transform: uppercase;
    text-align: center;
    outline: none;
    padding: 10px 20px;
    border-radius: 22.5px;
    font-size: .875rem;
    text-decoration: none;
    font-family: Open Sans, Helvetica Neue, Helvetica, Arial, sans-serif;
    margin: 0 auto;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    width: 18rem;
    color: #fff;
    background-color: #ac373b;
    transition: all .3s ease-in-out;
    border: 1px solid #ac373b;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

#cad_download_btn:hover {
    border: 1px solid #ac373b;
    background-color: #fff;
    color: #ac373b !important;
}

#showCad:hover, 
#showImage:hover,
#showDrawing:hover,
#fullscreenBtn:hover {
    opacity: 0.8;
}

#cad_format, #partNumberSelector {
    -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: 100%;
    gap: 10px;
}

#showCad, 
#showImage, 
#showDrawing, 
#fullscreenBtn {
    height: 40px;
    width: 40px;
    background-color: #133B5B;
    color: white;
    opacity: 1;
    transition: opacity 300ms;
    border: none;
    cursor: pointer;
}

#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: #133B5B;
    border: 1px solid #133B5B;
}

#downloadCadMessage {
    margin-top: 10px;
}

a#downloadHere {
    color: #ac373b;
    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: #1592E6 #133B5B;
    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;
  }

  .part-number-selector {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0px;
  }

  #cad_download_btn.disabled {
    user-select: none;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #bebebe;
    color: black;
    border-color:#bebebe;
  }