.cfim-wrapper {
	background: #fff;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 30px 40px;
    display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}
.cfim-field-wrapper {
	margin-bottom: 35px;
}
.cfim-label {
	display: block;
	margin-bottom: 10px;
}
.cfim-quantity-field,
.cfim-select {
	width: 100%;
    border-color: var(--e-global-color-primary)!important;
    border-width: 2px!important;
    border-radius: 50px!important;
    font-size: 18px!important;
    font-weight: bold!important;
    height: auto!important;
	color: var(--e-global-color-text)
}
.cfim-quantity-field {
	position: relative;
	z-index: 1;
}
.cfim-select {
	-webkit-appearance: none;
	appearance: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='451.847' height='451.847'%3E%3Cpath d='M225.923 354.706c-8.098 0-16.195-3.092-22.369-9.263L9.27 151.157c-12.359-12.359-12.359-32.397 0-44.751 12.354-12.354 32.388-12.354 44.748 0l171.905 171.915 171.906-171.909c12.359-12.354 32.391-12.354 44.744 0 12.365 12.354 12.365 32.392 0 44.751L248.292 345.449c-6.177 6.172-14.274 9.257-22.369 9.257z'/%3E%3C/svg%3E") no-repeat calc(100% - 10px) 50% / 15px;
}

/* Rangeslider */

.cfim-rangeslider-wrapper {
  position:relative;
  line-height: 0;
  margin:23px 15px 0 15px;
}
.cfim-rangeslider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 15px;
    background: rgb(0,0,0,0.1);
    outline: none;
    border-radius: 50px;
	padding: 0;
    border: none!important;
}
.cfim-rangeslider-fillbar {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: -1px;
  background-color: var(--e-global-color-primary);
  z-index: 0;
  width:0;
  opacity:0;
  transition: opacity 0.2s,background 0.4s ease-in-out;
}
.cfim-rangeslider-fillbar-active {
  background: #d3d3d3;
}
.cfim-rangeslider-fillbar-active .cfim-rangeslider {
  background:none;
  position: relative;
  z-index: 1;
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.cfim-rangeslider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px; 
  background: var(--e-global-color-primary);
  cursor: pointer; 
  border-radius:100%;
}
.cfim-rangeslider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: var(--e-global-color-primary);
  cursor: pointer;
  border-radius:100%;
}
.cfim-rangeslider-value {
  position: absolute;
  top: -100%;
}
.cfim-rangeslider-value span {
  width: auto;
  height: 24px;
  line-height: 24px;
  text-align: center;
  background: var(--e-global-color-primary);
  color: #fff;
  font-size: 12px;
  display: block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -135%);
  border-radius: 6px;
  white-space: nowrap;
  padding: 0 10px;
  visibility: hidden;
}
.cfim-rangeslider-value span:before{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 10px solid var(--e-global-color-primary);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  margin-top: -1px;
      visibility: visible;
}
.cfim-rangeslider-start,
.cfim-rangeslider-end {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    background: var(--e-global-color-primary);
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 100%;
    text-align: center;
    line-height: 40px;
    display: none;
}
.cfim-rangeslider-start {
	left: -40px;
}
.cfim-rangeslider-end {
	right: -40px;
}
.cfim-rangeslider-big-value {
  font-size:11px;
}

/* END rangeslider */

.cfim_button {
	font-size: 20px;
    padding: 16px 28px;
    min-width: 200px;
    border-radius: 50px;
    transition: all .4s ease-in-out;
}
.cfim_button svg {
	fill: #fff;
	width: 32px;
}
.cfim_button svg,
.cfim_button span {
	vertical-align: middle;
	transition: all .4s ease-in-out;
}
.cfim_button:hover svg {
	fill: #80b98a;
}
.cfim_button span {
	display: inline-block;
	color: #fff;
}
.cfim_button:hover span {
	color: #80b98a;
}
.cfim-results-list {
	list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.cfim-results-list-item {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	padding: 13px 0;
}
.cfim-results-list-item:not(:last-child) {
	border-bottom: 1px solid #dedede;
}
.cfim-results-list-item span {
	font-weight: bold;
}
.cfim_calculate_again {
	display: none;
	margin-top: 15px;
	font-size: 18px;
    padding: 10px 15px;
}
.cfim-message {
    color: #a50202;
    font-style: italic;
    font-size: 12px;
    margin-top: 10px;
}
.cfim-blink {
	animation: cfim-blink 0.6s infinite;
}

@media (min-width: 768px) {
	.cfim-col-calc {
		width: 60%;
		padding-right: 30px;
	}
	.cfim-col-results {
		width: 40%;
	}
}
@media (max-width: 767px) {
	.cfim-col-calc {
		width: 100%;
		padding-bottom: 50px;
	}
	.cfim-col-results {
		width: 100%;
	}
	.cfim-field-wrapper-submit {
		text-align: center;
	}
}
@keyframes cfim-blink {
	50% {
	    opacity: 0;
	}
}