.tnsb-product-summery {
  display: inline-block;
  vertical-align: bottom;
  padding-left: 10px;
}
.tnsb-product-summery span.tnsb-price {
  color: grey;
  padding-right: 15px;
}
.tnsb-product-summery span.tnsb-total {
  font-weight: bold;
  color: #95c22b;
  font-size: 25px;
}

.tnsb-boxfinder-root .wp-block-columns,
.tnsb-boxfinder-root .wp-block-column
{
  margin: 0 !important;
}
.tnsb-boxfinder-root{
  border-radius: 5px;
}
.tnsb-boxfinder-root h2{
  color: #ffffff;
}
.tnsb-boxfinder-root .tnsb-boxfinder-form ul {
  list-style: none;
  margin-left: 0;
}
.tnsb-boxfinder-form select {
  border-radius: 5px;
  border: 1px solid #95c22b;
  width: 150px;
  height: 35px;
}

.tnsb-finderbox-image {
  float: left;
  height: 100%;
  width: 90px;
  display: flex;
  align-items: center;
}
.tnsb-boxfinder-form {
  float: left;
  width: calc( 100% - 90px );
}
.tnsb-boxfinder-form form{
  width: 250px;
  margin: 0 auto;
}
.tnsb-finderbox-image figure {
  margin-bottom: 0 !important;
}
.tnsb-boxfinder-form label {
  display: inline-block;
  width: 95px;
  color: #f2f2f2;
}
.tnsb-boxfinder-form li {
  padding: 5px 0;
}
button.tnsb-boxfinder-button {
  background: #EAF3D4;
  border: 1px solid #95c22b;
  border-radius: 5px;
  width: 150px;
}
button.tnsb-boxfinder-button{
  margin-bottom: 0;
  color: #95c22b;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 0;
  font-family: 'Exo', sans-serif;
}
.tnsb-no-record-found {
  background: #95c22b;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 18px;
}


.overlay {
  position: fixed; /* Sit on top of the page content */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5); /* Black background with opacity */
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
}

.loader {
  border: 2px solid #EAF3D4;
  border-top: 2px solid green;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media only screen and (max-width: 870px) {
  div#tnsb-box-finder {
    display: block;
  }
  .tnsb-right-form {
    flex-direction: row-reverse;
    display: flex;
    padding-top: 20px;
  }
  .tnsb-finderbox-image{
    height: auto !important;
  }
  #tnsb-box-finder .wp-block-column{
    width: 100%;
    min-width: 100%;
    display: flex;
  }
  .tnsb-wrapper{
    width: 100% !important;
  }
  .tnsb-line{
    height: 1px;
    width: 100% !important;
    top: 49% !important;
    bottom: 0 !important;
    left: 0 !important;
  }
  .tnsb-wordwrapper{
    position: inherit !important;
    margin: 0 auto !important;
    width: 80px;
  }
}

@media only screen and (max-width: 500px) {
  .tnsb-boxfinder-form,
  .tnsb-boxfinder-form form{
    width: 100%;
  }
  .tnsb-finderbox-image{
    display: none;
  }
  .tnsb-right-form{
    flex-direction: row;
  }
  .tnsb-boxfinder-form select,
  button.tnsb-boxfinder-button {
    width: calc( 100% - 100px );
  }
}


/*
 * .tnsb-boxfinder-root: Center line CSS starts
 */
.tnsb-wrapper {
  position: relative;
  width: 35px;
  height: 100%;
}

.tnsb-line {
  position: absolute;
  left: 49%;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: #fff;
}

.tnsb-wordwrapper {
  text-align: center;
  position: absolute;
  top: 45%;
  margin-top: -12px;
}

.tnsb-word {
  color: #fff;
  letter-spacing: 1px;
  padding: 3px;
  background: #95c22b;
  font-size: 30px;
}

/*
 * .tnsb-boxfinder-root: Center line CSS ends
 */