#build-anchor {
  position: relative;
  width: 90%;
  height: auto;
  max-width: 1700px;
  display: block;
  margin: 0 auto;
}

#build-url {
  margin-right: 10px;
}

#build-header {
  display: flex;
  justify-content: space-between;
  border-bottom: solid 1px black;
  margin-bottom: 10px;
  flex-wrap: nowrap;
}

#build-anchor.expanded {
  height: calc(100vh - 95px);
}

.chassis-title {
  font-weight: 600;
}

#close-build-overlay {
  float: right;
  font-size: 30px;
  font-weight: 600;
  line-height: 1rem;
  margin-top: -10px;
  margin-right: -60px;
}


.disabled-option_for_build {
    color: #aaa !important;
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}


#build-overlay {
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 50%;
  width: 100%;
  padding: 10px 1%;
  max-width: 1700px;
  height: 100vh;
  z-index: 2;
  background-color: white;
  transform:translateX(-50%);
  align-items: center;
}

#build-overlay-header {
  display: flex;
  width: 95%;
  margin: 0 auto;
  justify-content: space-between;
  align-items:center;
  border-bottom: solid 2px black;
}

#component-header {
    text-align: left;
}

#build-warning-anchor {
  width: 50%;
  max-width: 300px;
  margin: 0 auto 5px;
  text-align: left;
}

#build-footer {
  width: 80%;
  max-width: 1700px;
  margin: 0 10%;
  height: 75px;
  position: absolute;
  bottom: 90px;
  left: 0;
  background-color: #cdea00;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  align-items: center;
  white-space: nowrap;
}

#build-header button{
  border-radius: 5px;
  border-color: none;
  margin:5px;
  height: 40px;
  font-size: 18px;
  line-height: 1rem;
}
#build-footer button,
#build-summary-footer button {
  height: 40px;
  font-size: 18px;
  line-height: 1rem;
}

#view-build-btn{
  margin-left: 10px;
}

#build-footer button:not(:last-of-type){
  margin-right: 10px;
}

#build-footer button:hover {
  background-color: #444444;
}

#build-filters {
    text-align: center;
    width: 100%;
}

#warranty-select {
    margin: 0 auto;
    border: none;
    border-bottom: solid 2px black;
    border-radius: 3px;
    padding: 5px 2px;
}

#build-anchor #filter {
    width: 30px;
    margin: 0 0 0 calc(100% - 30px);
}

#filter{
  margin-bottom: 3px;
}

.build-component {
  width: 100%;
}

#component-max-anchor{ /* max anchor */
  margin-left: 10px;
  justify-content: center;
  height: min-content;
  max-width: 25%;
  max-height: calc(100vh - 450px);
  flex-wrap: wrap;
  display: flex;
  align-items: flex-start;
  position: relative;
  flex-direction: row;
  gap: 8px;
  flex-basis: 20%;
  overflow-y: auto;
}

/* component max anchor scroll */


#component-max-anchor::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#component-max-anchor::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#component-max-anchor::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#component-max-anchor::-webkit-scrollbar-thumb:hover {
  background: #666666;
}



#component-max-anchor::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#component-max-anchor::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#component-max-anchor::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#component-max-anchor::-webkit-scrollbar-thumb:hover {
  background: #666666;
}





/* END component max anchor scroll */

.build-component-max-div{
  border-radius: 3px;
  background-color: #cccccc;
  margin-top: 5px;
  padding: 10px;
  height: 80px;
  width: 80px;

}
.build-component-max-div:hover{
box-shadow: inset -10px -10px 15px -3px rgba(0,0,0,0.1), inset 11px 10px 15px -3px rgba(0,0,0,0.1);
}
.ram-amt-select{
  width: 100%;
}

.build-component-div {
  border-radius: 3px;
  background-color: #cccccc;
  margin-top: 5px;
  padding: 10px;
  min-height: 68px;
}

.build-component-div input[type="checkbox"] {
  margin-right: 10px;
}

.build-component-div:hover{
  cursor: pointer;
  background-color: #bbbbbb;
}

#components-anchor {
  margin: 0;
  width: 40%;
  max-height: calc(85vh - 220px);
  padding: 0 5px;
  overflow-y: auto;
}

#components-max-anchor::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#components-max-anchor::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#components-max-anchor::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#components-max-anchor::-webkit-scrollbar-thumb:hover {
  background: #666666;
}



#components-anchor::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#components-anchor::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#components-anchor::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#components-anchor::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

#build-info{
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  position: relative;
  justify-content: center;
}

#chassis-info {
  background-color: #cccccc;
  width: max-content;
  max-width: 375px;
  display: inline-block;
  line-height: 1rem;
  margin-bottom: 20px;
  padding: 35px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

#product-all-img-div {
  display: block;
  text-align: center;
  height: auto;
  margin: 3px auto;
}

#chassis-main-img {
  display: block;
  margin: 0 auto;
  border-radius: 8px;

}

.component-img {
  display: inline-block;
  width: 15%;
  margin: 0;
  border: solid 2px transparent;
  border-radius: 8px;
}
.component-img.active {
  border-color: #444444;
}
#build-summary {
  width: auto;
  display: inline-flex;
  flex-direction: column;
  text-align: center;
  margin-left: 20px;
  height: 100%;
justify-content: space-between;
}

#build-summary-table {
  width: 60vw;
  border-radius: 2px;
  margin: 0 auto;
  max-width: 1000px;
  margin-bottom: 40px;
}

#build-summary-table tbody tr {
  height: 30px;
}

#build-summary-table td {
  line-height: 1rem;
  padding: 5px;
}

#build-summary-table thead td {
  background-color: #cccccc;
  font-weight: 600;
}

#build-summary-table tbody td:nth-of-type(2) {
  text-align: left;
}

#build-summary-table td.price {
  text-align: right;
}

#build-summary-table td.price::before {
  content: "$";
}

#build-summary-table tr:nth-of-type(2n) td{
  background-color: #cccccc;
}


#build-summary-table .remove-td {

  padding: 10px !important;
  font-size: 12px;
  background-color: white !important;
}

#build-summary-table .remove-td img {
  opacity: 0.2;
  width: 20px !important;
  height: 20px !important;
  opacity: 0.5;
}

#build-summary-table .remove-td:hover > img {
  cursor: pointer;
  width: 25px !important;
  height: 25px !important;
  opacity: 1;
  transition: 0.2s;
  filter: invert(71%) sepia(99%) saturate(980%) hue-rotate(18deg) brightness(106%) contrast(102%);
}

#build-summary-table .remove-td img:active {
  transform: scale(0.9);
}

#build-summary-table tr:hover {
  cursor: default;
}

#build-summary-table tbody tr:hover > td{
  background-color: #cdea00cc;
}

#build-summary-table tr:hover > .remove-td img {
  visibility: visible;
}

.add_to_the_end {
  margin-left: auto;
}

.pointer_for_p_warning:hover{
  background-color: #e6e6e6;
  cursor: pointer;
}

.pointer_for_p_warning:hover .warning__text_fetch.build_warning_link{
  color: #424242 !important;
}

#build-summary-footer {
  text-align: center;
  margin-bottom: 10px;
}

#return_to__build {
  margin-top: 10px;
  background-color: white;
  color:#363636;
  border: 2px solid #363636;
  border-radius: 3.14%;
  padding: 2px 20px;
  width: 200px;
  transition: all 0.3s ease;
}
#return_to__build:hover {
  background-color: #363636;
  color: white;
}
#return_to__build:active {
    transform: scale(0.98);
    transform: translateY(2px);
  }
.qty-div {
  margin-top: 10px;
}

.qty-div button {
  width: 40px;
  height: 40px;
  font-size: 24px;
}

.qty-div input {
  width: 100px;
  margin: 0;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  vertical-align: middle;
  border: solid 2px transparent;
}

.qty-div input:active,
.qty-div input:focus {
  border-bottom-color: #363636;
}

.build-price {
  margin-top: 10px;
  font-size: 20px;
}

.build-price::before {
  content: "$";
}

#add-to-cart-btn {
  margin-top: 10px;
  background-color: #363636;
  padding: 2px 20px;
  width: 200px;
  transition: all 0.3s;
}

#add-to-cart-btn:hover {
  background-color: #363636cc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1314);
}

#add-to-cart-btn:active {
  transform: scale(0.98);
  transform: translateY(2px);
}

#warranty-select {
  padding: 7px 5px;
}
#serverimage{
  width:100%;
}
#components-bar-div {
  background: none;
  position:relative;
  display: block;
  width: 99%;
  height: auto;
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  margin: 0 auto 15px;
  text-align: center;
  white-space: nowrap;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1, 1);
  -webkit-transform: translateZ(0) scale(1, 1);
  will-change: transform;
  user-select: none;
  z-index: 100;
}

#components-bar-div::-webkit-scrollbar {
  display: none;
}

#components-bar-div::-webkit-scrollbar-track {
  display: none;
}

#components-bar-div::-webkit-scrollbar-thumb {
  display: none;
}

#components-bar-div.active {
  cursor: move; /* fallback if grab cursor is unsupported */
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
  -webkit-font-smoothing: subpixel-antialiased;
}

.component-div {
  width: 100px;
  height: 100px;
  display: inline-block;
  vertical-align: middle;
  border-right: 1px solid white;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  margin: 0;
  background-color: #cccccc;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1, 1);
  -webkit-transform: translateZ(0) scale(1, 1);
  overflow: hidden;
  transition: all 0.3s ease;

}


.buildFilterButton{
  display: none !important; /*until fixed*/
}
.component-div:hover:not(.disabled) {
  cursor: pointer;
  background-color: #bbbbbb;
}

.component-div.disabled + .component-div {
  border-left: 1px solid #cccccc;
}

.flex_bay__margin{
  margin-right: 4px;
}

.boss_card_drive__margin{
  margin-left: 4px;
}

.component-div.selected {
  background-color: #cdea00;
}

.component-div.filled {
  background-image:url("/static/images/checkmark.png");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: right 5px top 5px;
}

.component-div.filled > img,
.component-div.filled > .component-name {
  filter: brightness(0%);
  color: black;
}


.component-div.required__picture {
  background-image:url("/static/images/ast1-req.png");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: left 3px top 3px;
}

/*.component-div.required__picture > img,*/
/*.component-div.required__picture > .component-name {*/
/*  filter: brightness(0%);*/
/*  color: black;*/
/*}*/

.component-div img {
  height: 50px;
  display: block;
  margin: 12% auto 0;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.component-div .component-name {
  line-height: 0.9rem;
}

.currently_selected__element{
  border: #363636 solid 2px;
  border-radius: 10px;
}

.component-qty {
  line-height: 14px;
  width: 20%;
  border-radius: 10px;
  background-color: #363636;
  color: white;
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
}

.component-div p {
  font-size: 12px;
  font-weight: 400;
  line-height: 2;
  margin: 0;
  padding: 0;
}

#components-bar-div::-webkit-scrollbar-track {
  background-color: transparent;
  background-color: #e0e0e0;
}

#components-bar-div::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
  margin-left: 5px;
  opacity: 0.5;
}

#components-bar-div::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #505050;
  opacity: 0.5;
}

#components-bar-div::-webkit-scrollbar-button {
  display: none;
}

#components-bar-div:active {
  cursor: grabbing;
}

.inline-qty {
  /*margin-right:5px;*/
  float: right;
  font-size: 14px;
}

#build-summary-table select,
.inline-qty select {
  padding: 0 2px;
  text-align: right;
}

#build-warning-anchor .build-warning {
  color: red;
  line-height: 1rem;
  font-size: 14px;
}

#build-warning-anchor .build-warning::before {
  content: "○ ";
}

#overlay-anchor {
  display: flex;
  flex-direction: row;
  height: 100%;
  margin-left: 5%;
  margin-top: 8%;
}

#raid-calculator-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffffcc;
  z-index: 3;
}
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
 }
 .hidden {
  display: none;
 }

 #parent_max_anchor_tabs{
   max-width: 25%;
   min-width: 25%;
   max-height: calc(100vh - 250px);
   margin: 0 auto 0 40px;
   visibility: hidden;
 }



#tabs_for_options_overview{
   display: flex;
   flex-direction: row;
   border-bottom: black solid 2px;
   justify-content: flex-start;
   min-width: 80%;
   margin: 0 5px 0 5px;
   height: 40px;
   padding: 8px;
   box-sizing: border-box;
 }

#parent_max_anchor_tabs #component-max-anchor{
  min-width: 80%;
  margin: 15px auto;
}

#quick_build__overview{
  display: flex;
  justify-content: center;
  margin: 10px 5px;
  max-height: calc(100vh - 450px);
  overflow-y: auto;
  padding-right: 4px;
}

#quick_build__overview::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#quick_build__overview::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#quick_build__overview::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#quick_build__overview::-webkit-scrollbar-thumb:hover {
  background: #666666;
}



#quick_build__overview::-webkit-scrollbar {
  width: 7px;
  outline: none;
}

#quick_build__overview::-webkit-scrollbar-track {
  background-color: white;
  outline: none;
}

#quick_build__overview::-webkit-scrollbar-thumb {
  background-color: #bbbbbb;
  outline: 1px solid #bbbbbb;
  border-radius: 5px;
}

#quick_build__overview::-webkit-scrollbar-thumb:hover {
  background: #666666;
}

#raid_calculator__btn{
  width: 100%;
}

#raid_calculator__btn > #view-build-btn {   /* view build button */
    background-color: #f4ffe1;
    height: 40px;
    border: 2px solid black;
    border-radius: 2px;
    float: right;
    margin-right: 15px;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#raid_calculator__btn > #view-build-btn:hover {
    background-color: #d4e8a3;
}

/* end */
.paragraphOverview h5, span{
  justify-content: start;
}

.paragraphOverview h5{
  width: 100%;
  font-size: medium;
  font-weight: bold;
  padding: 1px 5px;
  display: flex;
  background-color: #fbfbfb;
}

.paragraphOverview span{
  padding: 1px 5px;
  width: 100%;
  display: flex;
  background-color: #f2f2f2;
}


#tabs_for_options_overview .tubs_btn {
  display: flex;
  justify-content: center;
  height: 30px;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  min-width: 30%;
  max-width: fit-content;
  max-height: fit-content;
  border-radius: 4px;
  box-sizing: border-box;
  border-top: 2px solid black;
  border-left: 2px solid black;
  margin-right: 10px;
  padding: 5px;
}


#tabs_for_options_overview .tubs_btn:hover {
  background-color: #f2f2f2;
  /*border-bottom: solid 2px black;*/
  /*border-left: solid 2px black;*/
}

.half-grey-cover {
  background: linear-gradient(to bottom right, #ededed 0%, #ededed 50%, transparent 60%, transparent 100%);
}

.additional_options__show{
  display: flex;
  min-width: 25%;
  justify-content: center;
  gap: max(2px, 1%);
}

.additional_options__hide{
  display: none;
  min-width: 75px;
  justify-content: center;
  gap: max(2px, 1%);
}

.hide_element{
  display: none;
}

#additional_options_to_show button{
  min-width: 75px;
  background-color: #363636;
  border: #363636 solid 2px;
  border-radius: 3px;
  color: white;
  padding: 5px;
  float: right;
  margin-top: 10px;
  font-size: 14px;
}


#additional_options_to_show .button_options__selected{
  min-width: 75px;
  background-color: white;
  border: #363636 solid 2px;
  border-radius: 3px;
  color: black;
  padding: 5px;
  float: right;
  margin-top: 10px;
  font-size: 14px;
}


#additional_options_to_show .button_options__unselected{
  min-width: 75px;
  background-color: #363636;
  border: #363636 solid 2px;
  border-radius: 3px;
  color: white;
  padding: 5px;
  float: right;
  margin-top: 10px;
  font-size: 14px;
}


.icon_info_sign_span{
  font-size: large;
  float:right;
  margin-top: -2px;
  margin-left: 4px;
  user-select:none;
}



@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=open_in_new');


.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  line-height: inherit;
  vertical-align: middle;
  margin-right: 4px;
}

.build_warning_link {
  color: red;
  line-height: 1rem;
  font-size: 14px;
}

#return_to__build,
#add-to-cart-btn {
  display: block;
  width: 100%;
  border-radius: 5px;
  max-width: 300px;
  margin: 10px auto;
  text-align: center;
}

.btn__parent_div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.warning__text_fetch.build_warning_link:hover {
  color: black !important;
  cursor: pointer !important;
  transition: font-size 0.3s ease !important;
  /*text-shadow: -1px -1px 0 yellow, 1px -1px 0 yellow, -1px 1px 0 yellow, 1px 1px 0 yellow !important;*/
}

.warning__text_fetch.build_warning_link::before{
  content: "○ ";
  margin-right: 3px;
}

.warning__text_fetch {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

 /* tool tip styles */
 .tooltip__required_btn{
   position: relative;
 }

 .tooltip__required_text{
   visibility: hidden;
   background-color: #cdea00;
   text-align: center;
   border-radius: 5px;
   padding: 10px 20px;
   position: absolute;
   margin: auto;
   color: #363636;
   border: #000000 solid;
   z-index: 1;
   bottom: 150%;
   left: 50%;
   transition: opacity 0.5s ease-in-out;
   transform: translate(-50%);
 }

 .tooltip__required_btn:hover .tooltip__required_text{
   visibility: visible;
 }

 .tooltip__required_btn .tooltip__required_text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
/* end tooltip styles */

 /* tooltip for bay styles */
 .tooltip__required_component_bay{
   position: relative;
 }

.tooltip__required_bay_text {
  background-color: #e6e6e6;
  border: 2px solid #363636;
  box-shadow: 0 0 0 2px #cdea00;
  text-align: center;
  border-radius: 10px;
  padding: 10px 20px;
  position: absolute;
  margin: auto;
  color: #363636;
  z-index: 1;
  top: 115%;
  left: 50%;
  transition: border-color 1s ease, box-shadow 1s ease;
  transform: translate(-50%);
  min-width: 200px;
}


#current_build_price__block{
  display: flex;
  color: black;
  visibility: hidden;
  margin-right: 10px;
}

#current_build_price{
  margin-left: 5px;
}


@keyframes flickerBorder {
  0% {
    border-color: #363636;
    box-shadow: 0 0 0 2px #cdea00;
  }
  25% {
    border-color: #363636;
    box-shadow: 0 0 0 2px #f8f9fa;
  }
  50% {
    border-color: #363636;
    box-shadow: 0 0 0 2px #cdea00;
  }
  75% {
    border-color: #363636;
    box-shadow: 0 0 0 2px #f8f9fa;
  }
  100% {
    border-color: #363636;
    box-shadow: 0 0 0 2px #cdea00;
  }
}

.tooltip__required_bay_text {
  animation: flickerBorder 4s infinite alternate;
}

.disabled__visibility{
  visibility: hidden;
}


#build_view__resetBtn{
  background-color: #fb4913;
  border: #fb4913 2px solid;
  box-sizing: border-box;
}

#build_view__resetBtn:hover {
  background-color: #fb7c13;
  border: black 2px solid;
  border-radius: 5px;
  box-sizing: border-box;
}


.left_side_align__price{
  float: right;
  display:inline-block;
  margin-right: 2px;
  text-align: end;
  vertical-align:top;
}

.build-product-title{
  display:inline-block;
  max-width:60%;
  vertical-align:top;
  word-break:break-word;
}

 .tooltip__for_bay_make_invisible{
   visibility: hidden;
 }

 .tooltip__for_bay_make_visible{
   visibility: visible;
 }

 .tooltip__required_component_bay .tooltip__for_bay_make_visible::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}
 /*end tooltip for bay styles */

.qty_and_price__div{
  display: flex;
  flex-direction: column;
  float: right;
  margin-right: 2px;
  max-width: 30%;
  vertical-align: top;
}


.build_product_box_title{
  max-width: 100%;
  display: inline-block;
  vertical-align: top;
}

@media screen and (max-width: 1600px) {
  .build-component-div {
    min-height: 68px;
  }

  #btn_options{
    margin-left: 5px;
  }
  #component-max-anchor{
    max-height: calc(100vh - 450px);
  }
  #overlay-anchor{
    margin-top: 9%;
  }
  .build-product-title{
    max-width: 70%;
  }
}


@media screen and (max-width: 1400px) {
  #overlay-anchor{
    margin-top: 10%;
  }
  .build-product-title{
    max-width: 60%;
  }
}

@media screen and (max-width: 1250px) {
  #overlay-anchor{
    margin-top: 11%;
  }

  #tabs_for_options_overview .tubs_btn{
    margin-right: 1px;
  }

  #btn_options{
    margin-left: 10px;
  }
}

@media screen and (max-width: 1100px) {
  .build-component-div {
    min-height: 68px;
  }

  #filter-menu {
    min-width: 200px !important;
  }

  .additional_options__show{
    flex-wrap: wrap;
  }

  #build-footer{
    width: 90%;
    max-width: 100%;
    margin: 0 5%;
  }

  #overlay-anchor{
    margin-top: 12%;
  }

  #parent_max_anchor_tabs{
    min-width: 30%;
    max-width: 30%;
    margin: 0 auto 0 10px;
  }

  #component-max-anchor {
      max-height: calc(100vh - 550px);
  }
}

 /*   Adaptive  */
@media screen and (max-width: 1000px){

  #current_build_price__block{
    margin-right: 50px;
  }

  #components-anchor {
    width: 50%;
  }

  #current_build_price{
    margin-left: 5px;
  }

  #build-footer {
    bottom: 90px;
  }

  .build-component-div {
    min-height: 68px;
  }

  #components-anchor {
    max-height: calc(85vh - 220px);
    /*margin-top: 5%;*/
  }

  #overlay-anchor{
    margin-top: 15%;
  }

  #parent_max_anchor_tabs{
    min-width: 30%;
    max-width: 30%;
    margin: 0 auto 0 10px;
  }


  #btn_options{
    margin-left: 5px;
    margin-right: 10px;
  }

  #build-footer {
    z-index: 1000;
    bottom: 90px;
    width: 100%;
    margin: 0;
  }

}


@media screen and (max-width: 900px){
  #build-footer {
    z-index: 1000;
    width: 100%;
    margin: 0;
    bottom: 90px;
  }

  #build-footer button{
    font-size: 14px;
  }


  #build-footer button:not(:last-of-type){
    margin-right: 5px;
  }

  #filter-menu {
    min-width: 170px !important;
  }

  .build-component-div {
    min-height: 68px;
  }

  #components-anchor {
    margin: 0;
    width: 50%;
    padding: 0 5px;
    overflow-y: auto;
}


}

@media screen and (max-width: 800px){

  .build-component-div {
    border-radius: 3px;
    background-color: #cccccc;
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    height: 68px;
  }

  #current_build_price__block{
    margin-right: 0;
  }

  #current_build_price{
    margin-left: 5px;
  }

  #overlay-anchor {
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
    margin-left: 5%;
    margin-top: 13%;
  }

  #parent_max_anchor_tabs{
    display: none;
  }

  #build-info {
    flex-direction: column;
    align-items: center;
  }

  #build-overlay-header {
    display: flex;
    width: 95%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 2px black;
  }

  #build-overlay {
    padding: 5px;
  }

  #components-bar-div {
    margin-bottom: 5px;
    margin-top: -1%;
  }

  #chassis-info {
    display: none;
  }

  #build-summary h4 {
    font-size: 24px;
  }

  #build-summary-footer {
    position: relative;
    margin: 10px auto;
    width: 80%;
    min-width: 200px;
    bottom: 0;
  }

  #build-summary {
    width: 100%;
    margin-left: 0;
  }

  #build-anchor {
    width: 98%;
  }

  #build-anchor.expanded {
    width: 98%;
    height: calc(100vh - 80px);
  }

  #build-footer {
    z-index: 1000;
    bottom: 80px;
    width: 100%;
    margin: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }

  #build-footer button {
    font-size: 10px;
  }

  #build-footer button:not(:last-of-type){
    margin-right: 5px;
  }

  #close-build-overlay {
    margin-top: 0;
    margin-right: 0;
    font-size: 20px;
  }

  #components-anchor {
    max-height: calc(85vh - 260px);
    width: 80%;
    margin-top: 7%;
  }

  #build-summary-table {
    width: 95vw;
    margin-bottom: 30px;
  }

  #build-summary-footer {
    left: 0;
  }

  .build-price {
    margin-top: 0;
  }

}



@media screen and (max-width: 700px){
  #components-bar-div {
    margin-bottom: 5px;
    margin-top: -12%;
  }

  .build-component-div {
    border-radius: 3px;
    background-color: #cccccc;
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    height: 68px;
  }

  #build-footer {
    z-index: 1000;
    bottom: 80px;
    width: 100%;
    margin: 0;
    left: 0;
    position: absolute;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
  }
  #build-footer button {
      font-size: 10px;
  }

  #components-anchor {
    max-height: calc(85vh - 260px);
    width: 80%;
    margin-top: 7%;
  }
  #build-anchor.expanded {
    height: calc(100vh - 80px);
  }

}

@media screen and (max-width: 650px) {
  #components-bar-div {
    margin-bottom: 5px;
    margin-top: -17%;
  }

  #components-anchor {
    max-height: calc(85vh - 260px);
    width: 100%;
    margin-top: 7%;
  }
  #build-anchor.expanded {
    height: calc(100vh - 80px);
  }

}

@media screen and (max-width: 600px){
  .build-component-div {
    border-radius: 3px;
    background-color: #cccccc;
    margin-top: 5px;
    padding: 10px;
    width: 100%;
    height: 68px;
  }
  #overlay-anchor {
    display: flex;
    flex-direction: row;
    height: 100%;
    margin-left: 0;
    margin-top: 15%;
  }
  #build-anchor.expanded {
    height: calc(100vh - 135px);
  }

  #components-bar-div{
    margin-top: 1%;
  }

  #build-header button{
    border-radius: 5px;
    border-color: none;
    margin:2px;
    height: 25px;
    font-size: 10px;
    line-height: 1rem;
  }

  #build-footer {
    z-index: 1000;
    height: 80px;
    bottom: 135px;
    width: 100%;
  }

  #build-overlay-header {
    padding: 0;
    margin: 0;
  }

  #components-anchor {
    max-height: calc(85vh - 265px);
    width:100%;
  }

  #component-max-anchor{
    display: none;
  }

  #build-summary-table {
    width: 100vw;
  }

  #build-summary-table td {
    font-size: 12px;
  }

  #build-footer button {
    font-size: 10px;
  }

  #build-footer button:not(:last-of-type) {
    margin-right: 2px;
  }

  .component-div {
    height: 95px;
  }
}

@media screen and (max-width: 550px) {
  #build-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
  }

 .build-component-div{
    min-height: 68px;
  }

  #build-footer button {
    font-size: 16px;
    padding: 5px 20px;
  }

  #select_navigation__btns{
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
  }


  #raid_calculator__btn {
    display: flex;
    flex-direction: row;
    width: 100%;
    order: 2;
    /*margin-top: 10px;*/
    /*margin-bottom: 10px;*/
    margin-right: 0;
  }
  #raid_calculator__btn > #view-build-btn {
      flex-grow: 1;
      width: 100%;
      margin: 0 auto 10px;
      color: black;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  #raid_calculator__btn > #raid_calculator__btn_btn{
    flex-grow: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  #select_navigation__btns {
    order: 1;
  }

}


@media screen and (max-width: 500px) {

  #build-footer button {
    font-size: 14px;
    padding: 2px 10px;
  }

  #select_navigation__btns{
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
  }

  #raid_calculator__btn > #view-build-btn {
      flex-grow: 1;
      width: 100%;
      margin: 0 auto 10px;
      color: black;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  #raid_calculator__btn > #raid_calculator__btn_btn{
    flex-grow: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  #select_navigation__btns {
    order: 1;
  }

  #components-anchor{
    margin-top: 10%;
  }

  .build-component-div{
    min-height: 68px;
  }

}


@media screen and (max-width: 450px) {
  #components-bar-div {
    margin-bottom: 5px;
    margin-top: 2%;
  }

  #components-anchor{
    margin-top: 15%;
  }


  #build-footer{
    max-width: 450px;
  }

  #view-build-btn{
    margin-left: 0;
  }


  #build-footer{
    /* display: flex;
    flex-wrap: wrap;
    height: fit-content;
    justify-content: center; */
    /*overflow-y: scroll;*/
  }

  #raid_calculator__btn{
    /* display: flex;
    justify-content: center;
    margin: 10px;
    flex-basis: 100%;
    order: 1; */
  }

  #select_navigation__btns{
    margin: 10px;
  }

}

@media screen and (max-width: 400px) {

  #build-footer button {
    font-size: 10px;
    padding: 1px 20px;
  }

  #select_navigation__btns{
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    justify-content: space-between;
  }

  #raid_calculator__btn > #view-build-btn {
      flex-grow: 1;
      width: 100%;
      margin: 0 auto 10px;
      color: black;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  #raid_calculator__btn > #raid_calculator__btn_btn{
    flex-grow: 1;
    width: 100%;
    margin-bottom: 10px;
  }

  #select_navigation__btns {
    order: 1;
  }

  #components-bar-div {
    margin-bottom: 5px;
    margin-top: 2%;
  }

  #components-anchor{
    margin-top: 15%;
  }


  #build-footer{
    max-width: 400px;
  }

  #view-build-btn{
    margin-left: 0;
  }
}

@media screen and (max-width: 390px) {

  #components-bar-div {
    margin-bottom: 5px;
    /*margin-top: -8%;*/
  }

  #components-anchor{
    margin-top: 15%;
  }

  #build-footer{
    max-width: 100vw;
  }

  #view-build-btn{
    margin-left: 0;
  }
}


@media screen and (max-width: 370px) {

  #build-footer button {
    font-size: 10px;
    padding: 1px 15px;
  }

  #components-bar-div {
    margin-bottom: 5px;
    margin-top: -8%;
  }

  #components-anchor{
    margin-top: 15%;
  }


  #build-footer{
    max-width: 100vw;
  }

  #view-build-btn{
    margin-left: 0;
  }

}