.w3-row > a {
    display: inline-block;
    width: 33.43%;
    margin: -4px !important;
    text-align: center;
    background-color: white;
    border-radius: 0px !important;
    color: darkgrey !important;
    border-bottom: 10px solid;
    border-right: 1px solid #c0c0c0;

}
a.selected {
    background-color: #ff9f3f;
    color: white !important;
    border-bottom: 10px solid darkorange;
    transition: background .75s ease-in-out;
    -moz-transition: background .75s ease-in-out;
    -webkit-transition: background .75s ease-in-out;
}
a.selected:hover{
    background-color: darkorange;
    transition: background .75s ease-in-out;
    -moz-transition: background .75s ease-in-out;
    -webkit-transition: background .75s ease-in-out;
}
a.selected:hover div{
    text-decoration: none;
}
.w3-container {
    background-color: white;
    display: none;
    color: black;
    padding: 50px 10%;
}

.w3-container.selected {
    display: block;
    margin-bottom: -100px;
}

.materials > a, .colors > a, .handlers > a {
    width: 180px;
    height: 180px;
    padding: 0px !important;
    cursor: pointer;
}

.searchbox-item {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    text-align: center;
}

.searchbox-item span {
    position: relative;
    top: 140px;
    display: block;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
}

.preloader {
    position: fixed;
    left: 48%;
    top: 48%;
    display:initial;
    background-color: rgba(255,165,0,0.70) !important;
    border-radius: 2px;
    padding: 30px;
    opacity:1;
/*     margin-top: 150px; */
    -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein 2s; /* Firefox < 16 */
    -ms-animation: fadein 2s; /* Internet Explorer */
    -o-animation: fadein 2s; /* Opera < 12.1 */
    animation: fadein 2s;
    z-index: 9999;
}
.preloader.hide{
    opacity:0;
    -webkit-animation: fadeout 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadeout 2s; /* Firefox < 16 */
    -ms-animation: fadeout 2s; /* Internet Explorer */
    -o-animation: fadeout 2s; /* Opera < 12.1 */
    animation: fadeout 2s;
}

.search-tabs-box {
    margin: 0 auto !important;
    position: relative;
}

#search_box_overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: #000000;
	opacity: 0.7;
	color: #c0c0c0;
	font-size: 100px;
	text-align: center;
	vertical-align: middle;
}

#search_box_overlay i {
    top: 33%;
    position: relative;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.searchbox-item.selected {
    border: 5px solid #fca935;
}

#search_by_attribute_content ul.nav.nav-tabs li.active a {
    background-color: #fca935;
    color: white;
    border: 1px solid #fca935;
}

#search_by_attribute_content ul.nav.nav-tabs li a {
	background-color: #1b1515;
	border: 1px solid #c0c0c0;
	display: block;
	width: auto;
	min-width: 150px;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	max-width: 100%;
	text-overflow: ellipsis;
  padding: 8px 20px;
}

.tab-content {
    padding: 15px;
}

#search_by_attribute_content .nav-tabs.nav-justified > li {
  display: inline-block;
  width: calc(25% - 10px);
  text-align: center;
  float: left;
  margin: 5px 5px 5px 5px;
}
#search_by_attribute_content #other_parameters .nav-tabs.nav-justified > li:nth-of-type(4n) {
/*   margin: 5px 0; */
}

.nav.nav-tabs li a {
    border-radius: 0px;
    border-right: 1px solid;
}
.not-active {
    pointer-events: none;
    cursor: default;
}

#searchbox_wrapper ul.nav-tabs {
    width: unset;
    margin-left: -5px;
    margin-right: -5px;
}

#search_by_attribute_content #other_parameters .attribute-group {
	border: 1px solid #c0c0c0;
	padding: 25px 50px;
}

#searchbox_wrapper .search-tabs-box {
    color: #c0c0c0;
}

#search_by_attribute_content #other_parameters .attribute-group {
	border: 1px solid #c0c0c0;
	padding: 5px 15px;
	margin-bottom: 30px;
	display: block;
	float: left;
	width: 100%;
}

#searchbox_wrapper a.image_select {
	border: medium none !important;
	margin-bottom: 20px;
	background: #c0c0c0;
}

#searchbox_wrapper .attribute-group h3 {
	border-bottom: 1px solid #c0c0c0;
	font-size: 28px;
}

@media (max-width:767px){
    .search-tabs-box {
        width: 100%;
        padding: 20px;
    }
    .tab-content {
        margin-top:20px;
         padding: 0px;
    }
    .materials > a, .colors > a, .handlers > a {
        display: inline-block;
        width: 33%;
        margin-right: 0 !important;
    }
}
@media (max-width:452px){
    .materials > a, .colors > a, .handlers > a {
        display: inline-block;
        width: 50%;
        margin-right: 0 !important;
    }
}

@media (max-width:400px){
  .searchbox_left_hung_door {
      top: -35px !important;
  }

  .searchbox_right_hung_door {
      top: -35px !important;
  }
}

.visual .searchbox-item {
    display: inline-block;
    width: 31%;
    height: auto;
    min-height: 200px;
    margin: 1%;
}
.conclusions {
    text-align: center;
}
.conclusion button:hover, .conclusion button:active {
    font-size: 22px !important;
}
h2.box-title {
    color: black;
    padding: 15px 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    font-size: larger;
    background-color: #f3f2f2;
}

#searchbox_dimensions {
/*   background: #c0c0c0; */
}

#searchbox_door {
  -webkit-box-shadow: 3px 5px 6px 1px rgba(0,0,0,0.75);
  -moz-box-shadow: 3px 5px 6px 1px rgba(0,0,0,0.75);
  box-shadow: 3px 5px 6px 1px rgba(0,0,0,0.75);
  float: left;
  display: block;
  margin: 20px;
  position: relative;
}

#searchbox_original_door {
    position: absolute;
    border: 1px dotted;
}


#searchbox_hinge1 {
    position: absolute;
    width: 100%;
    height: 50%;
    top: 0;
    left: 0;
}

#searchbox_hinge2 {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
}

#searchbox_door.right.door #searchbox_hinge1, #searchbox_door.left.door #searchbox_hinge2 {
  background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100%' height='100%'><line stroke-dasharray='5, 5'  x1='0' y1='100%' x2='100%' y2='0' style='stroke:rgb(0,0,0);stroke-width:1'/></svg>") #c0c0c0;
  background-repeat:no-repeat;
  background-position:center center;
  background-size: 100% 100%, auto;
  background-color: transparent;
}

#searchbox_door.right.door #searchbox_hinge2, #searchbox_door.left.door #searchbox_hinge1 {
  background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='100%' height='100%'><line stroke-dasharray='5, 5'  x1='0' y1='0' x2='100%' y2='100%' style='stroke:rgb(0,0,0);stroke-width:1'/></svg>") #c0c0c0;
  background-repeat:no-repeat;
  background-position:center center;
  background-size: 100% 100%, auto;
  background-color: transparent;
}

#searchbox_height {
    float: left;
    display: block;
}

#searchbox_height_input_wrap {
    float: left;
    display: block;
}

#search_by_attribute_content .dimensions div {
    display: -webkit-flex;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search_by_attribute_content .dimensions input {
    width: 34px;
    padding: 0;
    border-radius: 0;
    border: 1px solid;
    text-align: center;
}

#search_by_attribute_content .plus, #search_by_attribute_content .minus {
    background: #0984e6;
    width: 20px;
    height: 20px;
    color: #c0c0c0;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    margin: 6px 5px;
    float: left;
}

#search_by_attribute_content .dimensions #searchbox_door {
/* 	background: #c0c0c0; */
	background: #ffffff;
	border-radius: 0;
}

#search_by_attribute_content .minus {
    background: #f60501;
}

#searchbox_quantity_wrap input {
    width: 60px;
    float: left;
}


#searchbox_height {
    margin: 10px 0px 10px 26px;
}

#searchbox_width {
    margin: 0 13px 10px 13px;
}

#search_by_attribute_content .add_to_cart input[type="number"] {
    -moz-appearance: number-input;
}

#search_by_attribute_content label {
  margin: 0;
}

#search_by_attribute_content input[type="text"] {
    height: inherit;
    line-height: inherit;
}

#search_by_attribute_content .add_to_cart, #search_by_attribute_content .add_to_cart_form {
    margin-top: 0;
}

#search_by_attribute_content .add_to_cart {
  position: relative;
}

.searchbox_left_hung_door {
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 10px;
}

.searchbox_right_hung_door {
    position: absolute;
    top: 20px;
    right: 0;
    padding: 0 10px;
}


#search_by_attribute_content .woocommerce-product-gallery {
    width: 100%;
}

#search_by_attribute_content .short_description {
    width: 100%;
    margin: 20px 40px;
}

#search_by_attribute_content .woocommerce {
  background: none !important;
}

#search_by_attribute_content .woocommerce div.product div.images .main_image img {
    max-height: none;
    border: 1px solid #c0c0c0;
    display: block;
    width: 100% !important;
}

.cart_item .variation p {
    color: #000000;
}

.content .container {
  padding-top: 100px;
}

#search_by_attribute_content .invisible {
  visibility: hidden;
}

#searchbox_cart_edit_clone {
  display: none;
}

#searchbox_cart #searchbox_cart_edit_clone {
  display: block;
}

#search_by_attribute_content a.toggle_attribute_description {
    font-size: 14px;
    float: right;
}

#search_by_attribute_content .image_select img {
    max-width: 100%;
}

#search_by_attribute_content .image_select {
    background: none;
    border: none;
    padding: 0;
}

#search_by_attribute_content li.has-image a {
    max-width: 150px;
}

#searchbox_cart {
    margin-top: 0;
    padding-top: 40px;
    background: transparent;
}

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
    color: #000000;
}

#searchbox_cart .woocommerce p {
    color: #000000;
}

#searchbox_cart .woocommerce .cart-empty, #searchbox_cart .woocommerce .return-to-shop {
    display: none;
}

.cart_attributes_list {
  font-weight: bold;
}

#searchbox_wrapper .woocommerce-message .button.wc-forward{
  display: none;
}

#searchbox_wrapper .woocommerce-message {
    position: fixed;
    top: 40%;
    left: 10%;
    z-index: 999999;
    width: 80%;
    -webkit-box-shadow: 0px 0px 19px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 19px 2px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 19px 2px rgba(0,0,0,0.75);
}
#searchbox_wrapper .woocommerce-message::after {
    content: '×';
    position: absolute;
    right: 3px;
    top: 3px;
    display: block;
    padding: 6px;
    cursor: pointer;
}


.search-tabs-box ul.nav-tabs li.active a, .search-tabs-box ul.nav-tabs li.active a:hover, .search-tabs-box ul.nav-tabs li.active a:active, .search-tabs-box ul.nav-tabs li.active a:focus {
	border: 1px solid #fca935;
}


#searchbox_wrapper .short_description_wrapper {
	border: 1px solid #c0c0c0;
	margin: 20px 0;
}

input#searchbox_custom_color {
	border-radius: 0;
	border: 1px solid #1c1819;
}

input#searchbox_custom_color::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #090909;
}
input#searchbox_custom_color::-moz-placeholder { /* Firefox 19+ */
  color: #090909;
}
input#searchbox_custom_color:-ms-input-placeholder { /* IE 10+ */
  color: #090909;
}
input#searchbox_custom_color:-moz-placeholder { /* Firefox 18- */
  color: #090909;
}

#searchbox_dimensions select {
    border: 1px solid #908a8a;
    border-radius: 0;
    padding: 4px 46px 4px 0px;
    width: 112px;
    font-size: 16px;
    line-height: 1;
    height: 33px;
    background: url('select_arrow.png') no-repeat right transparent;
        background-position-x: right;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-position-x: 64px;
    font-weight: bold;
}


.searchbox_left_hung_door, .searchbox_right_hung_door {
	border: 1px solid #908a8a;
}


.searchbox_door_hung_container {
	display: block;
	position: relative;
	padding: 2px 50px 2px 0 !important;
	margin-bottom: 12px;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	height: 44px;
	line-height: 40px;
}

/* Hide the browser's default radio button */
.searchbox_door_hung_container input {
  position: absolute;
  opacity: 0;
}

/* Create a custom radio button */
.checkmark {
	position: absolute;
	top: 7px;
	right: 0;
	height: 32px;
	width: 32px;
	background-color: #180f12;
	border-radius: 50%;
	border: 1px solid white;
}

/* On mouse-over, add a grey background color */
.searchbox_door_hung_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.searchbox_door_hung_container input:checked ~ .checkmark {
	background-color: #2196F3;
	border-color: #2196F3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
/*   display: none; */
}

/* Show the indicator (dot/circle) when checked */
.searchbox_door_hung_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.searchbox_door_hung_container .checkmark::after {
	top: 9px;
	left: 9px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: white;
}

.searchbox_extra_input_fields {
  display: block;
  float: left;
  width: 100%;
  margin-top: 80px;
}

.searchbox_extra_input_fields label {
	padding: 0 !important;
	text-align: left !important;
}

.searchbox_extra_input_fields input, .searchbox_extra_input_fields button {
	border-radius: 0;
	border: 1px solid #8d898a;
	padding: 7px 15px;
	max-width: 300px;
}

#searchbox_cart .woocommerce {
	background: transparent !important;
	color: #dcd8d9;
}

#searchbox_cart .woocommerce form {
  border: 1px solid #fffeff;
}

#searchbox_cart .woocommerce table.shop_table td {
	border-top: 1px solid #fffeff;
	position: relative;
	text-align: center;
}
.first-choice ul{
  text-align: center;
  margin-bottom: 20px;
}
.first-choice ul li {
  text-align: center;
  float: none !important;
  width: 150px !important;
}


@media (min-width:769px){
#searchbox_cart .woocommerce table.shop_table .cart_item td::before {
	content: "";
	height: calc(100% - 65px);
	background: #fffeff;
	width: 1px;
	display: block;
	position: absolute;
	top: 18px;
  left: 0;
}
}

#searchbox_cart .woocommerce table.shop_table .cart_item td.product-name::before, #searchbox_cart .woocommerce table.shop_table .cart_item td.product-remove::before {
  display: none;
}

#searchbox_cart td.product-name {
	font-weight: bold;
	font-size: 16px;
}

#searchbox_cart input {
	border-radius: 0;
	border: 1px solid #322c2e;
	color: #262626;
}

#searchbox_cart #coupon_code {
	height: 29px !important;
}

#searchbox_cart .woocommerce table.shop_table td.actions {
	text-align: right;
}

#searchbox_cart .woocommerce table.shop_table {
	margin: 0;
}

#searchbox_cart .cart_totals {
	border: 1px solid #c0c0c0;
	padding: 20px;
	margin-top: 80px;
}

#searchbox_cart .woocommerce .cart_totals table.shop_table td {
	border: medium none;
}

#searchbox_cart .cart_totals th {
	border: medium none;
}

#searchbox_cart .woocommerce .cart_totals table.shop_table {
	border: medium none;
}

#searchbox_cart form.woocommerce-shipping-calculator {
	border: medium none !important;
}

#searchbox_cart form.woocommerce-shipping-calculator a {
	color: #dcd8d9;
	text-decoration: underline;
}

#searchbox_cart .woocommerce .cart_totals table.shop_table td {
	text-align: left;
}

#searchbox_cart .checkout-button.button.alt.wc-forward {
	background: #c0c0c0 !important;
	color: #000000;
	width: auto;
	display: inline-block;
	font-size: 16px;
	text-transform: unset;
	font-weight: normal;
	border-radius: 0;
	padding: 10px 30px;
}

#searchbox_original_door {
	border: 1px #151112 dashed;
}

#searchbox_cart .woocommerce table.shop_table tr.cart_item td {
	height: 97px;
	padding-bottom: 37px;
}

#searchbox_cart #searchbox_cart_edit_clone {
	display: block;
	position: absolute;
	width: 250px;
	bottom: 4px;
	text-align: left;
	z-index: 99999;
}

.searchbox_custom_color_selector_img {
    display: block;
    float: left;
    width: 33.33%;
}
.searchbox_custom_color_selector_input {
    display: block;
    float: left;
    width: 66.66%;
}

.button_info p {
    color: #fff;
}

.button_info {
    background: #1b1616;
    border: 1px solid #eee;
    padding: 5px;
}

#searchbox_cart .woocommerce p.woocommerce-shipping-destination {
    color: #dcd8d9;
}

@media (max-width:768px){
#searchbox_cart .woocommerce table.shop_table tr.cart_item td {
	height: auto;
	padding-bottom: 0;
}

#searchbox_cart .woocommerce table.shop_table tr.cart_item td.product-remove {
	padding-bottom: 37px;
	padding-top: 42px;
}
}

@media (max-width:1200px){
#search_by_attribute_content #other_parameters .nav-tabs.nav-justified > li {
  width: 50% !important;
}
.searchbox_custom_color_selector_img, .searchbox_custom_color_selector_input {
  width: 50%;
}
}

@media (max-width:768px){
.searchbox_custom_color_selector_img, .searchbox_custom_color_selector_input {
  width: 100%;
}
#search_by_attribute_content .nav-tabs.nav-justified > li, #search_by_attribute_content #other_parameters .nav-tabs.nav-justified > li {
  width: 100% !important;
}
#search_by_attribute_content ul.nav.nav-tabs li a {
  width: 100%;
}
#search_by_attribute_content ul.nav.nav-tabs li a.image_select {
  width: auto;
}
}

@keyframes wcNoticeFade {
  0%{
      opacity: 1;
  }
  50%{
      opacity: 1;
  }
  75%{
      opacity: 0.5;
  }
  99%{
      display: none;
      opacity: 0;
      z-index: 0;
      left: 10%;
  }
  100%{
      left: -9999px
  }
}
@-moz-keyframes wcNoticeFade {
  0%{
      opacity: 1;
  }
  50%{
      opacity: 1;
  }
  75%{
      opacity: 0.5;
  }
  99%{
      display: none;
      opacity: 0;
      z-index: 0;
      left: 10%;
  }
  100%{
      left: -9999px
  }
}
@-webkit-keyframes wcNoticeFade {
  0%{
      opacity: 1;
  }
  50%{
      opacity: 1;
  }
  75%{
      opacity: 0.5;
  }
  99%{
      display: none;
      opacity: 0;
      z-index: 0;
      left: 10%;
  }
  100%{
      left: -9999px
  }
}
@-ms-keyframes wcNoticeFade {
  0%{
      opacity: 1;
  }
  50%{
      opacity: 1;
  }
  75%{
      opacity: 0.5;
  }
  99%{
      display: none;
      opacity: 0;
      z-index: 0;
      left: 10%;
  }
  100%{
      left: -9999px
  }
}
@-o-keyframes wcNoticeFade {
  0%{
      opacity: 1;
  }
  50%{
      opacity: 1;
  }
  75%{
      opacity: 0.5;
  }
  99%{
      display: none;
      opacity: 0;
      z-index: 0;
      left: 10%;
  }
  100%{
      left: -9999px
  }
}
#searchbox_wrapper .woocommerce-message {
  animation-name: wcNoticeFade;
  animation-duration: 6000ms;
  animation-fill-mode: forwards;
}




@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Firefox < 16 */
@-moz-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Internet Explorer */
@-ms-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* Opera < 12.1 */
@-o-keyframes fadeout {
    from { opacity: 1; }
    to   { opacity: 0; }
}
