/**
 Helpers
 */
.text-center {
    text-align: center;
}


/**
 Headings
 */
.wneof-category-heading {
    margin-bottom: 5px;
    margin-top: 20px;
    clear: both;
}


/**
 Products rows and columns
 */

.wneof-product-row {
    clear: both;
}

.wneof-product {
    float: left;
}

.wneo-clear {
    margin-bottom: 5%;
    clear: both;
}

.wneof-product-1 {
    width: 98%;
    padding-left: 1%;
    padding-right: 1%;
}

.wneof-product-2 {
    width: 48%;
    padding-left: 1%;
    padding-right: 1%;
}

.wneof-product-3 {
    width: 32.333%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.wneof-product-4 {
    width: 24%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.wneof-product-5 {
    width: 19%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.wneof-product-6 {
    width: 15.666%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.wneof-product-7 {
    width: 13.28%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

.wneof-product-8 {
    width: 11.5%;
    padding-left: 0.5%;
    padding-right: 0.5%;
}

/**
 Product contact form
 */

#wneof_form_button_container {
    display: none;
    position: fixed;
    width: 100%;
    top: 75%;
    z-index: 999999;
}

.wneof-furniture-form-button {
    display: none;
    max-height: 100%;
    max-width: 320px;
    padding: 12px 10px 12px;
    height: auto;
    vertical-align: middle;
    text-align: center;
    background: #000000d0;
    margin: 0 auto;
    color: #fff;
    border-radius: 5px;
    z-index: 999999;
    position: relative;
    border: 1px solid #ccc;
    cursor: pointer;
}

.wneof-product-form {
    z-index: 9999999;
    top: 50px;
    background: #fff;
    position: fixed;
    border-radius: 5px;
    color: #000;
    display: none;
    max-width: 358px;
    width: 100%;
    border: 1px solid #ccc;
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
	  .wneof-product-form {
			z-index: 9999999;
			top: 50px;
		  	left: 50px !important;
			background: #fff;
			position: fixed;
			border-radius: 5px;
			color: #000;
			display: none;
			max-width: 300px !important;
			width: 100% !important;
			border: 1px solid #ccc;
		}
}

.wneof-product-form-title {
    color: #000;
    text-align: center;
}

#wneof-product-form-close {
    cursor: pointer;
    width: 40px;
    position: absolute;
    right: 0;
    height: 40px;
    top: 10px;
    z-index: 9;
}

#wneof-product-form-close svg {
    stroke: #000;
}

.wneof-product-form form {
    padding: 5%;
}

.wneof-product-form #form_success_message {
    text-align: center;
    margin-top: 40px;
}

.sc-basic-form {
    position: relative;
}

.sc-form-loader-container {
    align-items: center;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.sc-form-roller {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}
.sc-form-roller div {
  animation: sc-form-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.sc-form-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  margin: -3px 0 0 -3px;
}
.sc-form-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.sc-form-roller div:nth-child(1):after {
  top: 50px;
  left: 50px;
}
.sc-form-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.sc-form-roller div:nth-child(2):after {
  top: 54px;
  left: 45px;
}
.sc-form-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.sc-form-roller div:nth-child(3):after {
  top: 57px;
  left: 39px;
}
.sc-form-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.sc-form-roller div:nth-child(4):after {
  top: 58px;
  left: 32px;
}
.sc-form-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.sc-form-roller div:nth-child(5):after {
  top: 57px;
  left: 25px;
}
.sc-form-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.sc-form-roller div:nth-child(6):after {
  top: 54px;
  left: 19px;
}
.sc-form-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.sc-form-roller div:nth-child(7):after {
  top: 50px;
  left: 14px;
}
.sc-form-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.sc-form-roller div:nth-child(8):after {
  top: 45px;
  left: 10px;
}
@keyframes sc-form-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.wneof-field-container {
    clear: both;
    width: 100%;
}

.wneof-field-container label {
    width: 100%;
    display: block;
}

.wneof-field-container input,
.wneof-field-container textarea {
    width: 100%;
}

.sc-submit-container {
    max-width: 120px;
    margin: 0 auto;
}

.wneof-field-container .wneof-submit {
    background: #fff;
    padding: 10px 0;
    border: 1px solid #333;
    margin-top: 15px;  
    cursor: pointer;  
}

.grecaptcha-badge {
    display: none;
}

.sc-form-submit {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0 auto;
  transition: all 0.4s ease-in;
}

.sc-basic-product-form .gre-notice {
    font-size: 14px;
    text-align: center;
}

.sc-powered-by {
    font-size: 14px;
    text-align: center;
}

/**
 Search box
 */
#wneo_result_box {
    position: relative;
}

#wneo_search_results_container {
    position: absolute;
    top: 0;
    padding: 42px 10px 10px;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 500px;
    width: 100%;
    overflow-y: scroll;  
    z-index: 8;
}

#wneo_search_close_icon {
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.93 17.07A10 10 0 1 1 17.07 2.93 10 10 0 0 1 2.93 17.07zm1.41-1.41A8 8 0 1 0 15.66 4.34 8 8 0 0 0 4.34 15.66zm9.9-8.49L11.41 10l2.83 2.83-1.41 1.41L10 11.41l-2.83 2.83-1.41-1.41L8.59 10 5.76 7.17l1.41-1.41L10 8.59l2.83-2.83 1.41 1.41z"/></svg>');
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
    transition: 0.2s 0s ease-in-out;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 9;
}

.sc-lazyload {
    opacity: 0;
}

.gre-notice p {
    font-size: 50%;
    margin: 0 auto;
    max-width: 225px;
    text-align: center;
}

.sc-product {
    min-height: 300px;
    position: relative;
}

.sc-button {
    padding: 8px 16px;
    border: 1px solid #000;
    border-radius: 4px;
}

.sc-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    height: 100%;
    transition: 1s 0s ease-in-out;
    z-index: 9;
}

.sc-wc-product-available {
    padding-bottom: 16px;
    display: flex;
    justify-content: center;
    margin-top: -40px;
    position: relative;
}

.sc-wc-product-available .sc-button {
    background: #FFF;
    color: #000;
    clear: both;
    display: flex;
}

#sc_wc_button {
    display: none;
}

.sc-lightbox-buy {
    padding: 12px 10px 12px;
    text-align: center;
    background: #000000d0;
    margin: 0 auto;
    color: #fff;
    border-radius: 5px;
    z-index: 999999;
    position: relative;
    display: table;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.gre-notice,
.sc-powered-by {
    transform: scale(0);
    transform-origin: top;
    transition: transform 1s ease-out;
}

.wneof-optin-field label {
    float: left;
    width: auto;
    padding: 4px 0;
}

.wneof-optin-field input {
    float: left;
    margin: 14px 8px;
    text-align: left;
    width: auto;
}

.sc-tooltip-container {
    width: auto;
    float: left;
}

.sc-tooltip-text-container {
    position: relative;
}

.sc-tooltip-text {
    position: absolute;
    background-color: #fff;
    border: 1px solid;
    padding: 10px;
    max-width: 50%;
    min-height: 60px;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
    right: 0;
    font-size: 75%;
    top: -15px;
    opacity: 0;
    display: none;
    visibility: hidden;
    transition: 0.5s 0s ease-in;
    -webkit-transition: 0.5s 0s ease-in;
}

.sc-tooltip-text.active {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.sc-tooltip-text::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -30px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    z-index: 9;
    border-top: 20px solid #FFF;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.sc-tooltip-text::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -31px;
    transform: rotate(90deg);
    border-top: 20px solid #000;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.sc-tooltip {
    border: 1px solid;
    padding: 0px 6px;
    border-radius: 50%;
    font-size: 12px;
}

.sc-tooltip:hover {
    cursor: pointer;
}

@media (max-height: 800px) {
    .wneof-product-form {
    height: 100vh;
    left: 0;
    max-width: 100%;
    overflow-y: scroll;
    top: 0 !important;
    width: 100%;
    }
}

@media (max-width: 800px) {
    .wneof-product-4 {
        width: 48%;
    }

    .wneof-product-6 {
        width: 32.333%;
    }

    .wneof-product-8 {
        width: 24%;
    }

    .sc-product {
        min-height: 150px;
    }
}
