.ag-format-container {
	width: 100%;
	margin: 0 auto;
  }
  
  /* rangeslider */
  .ag-calculator_input-wrap .rangeslider--horizontal {
	display: inline-block;
	height: 8px;
	margin-top: 20px;
	background-color: #9099a3;
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-calculator_input-wrap .rangeslider__fill {
	background-color: #78bc1e;
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-calculator_input-wrap .rangeslider__handle {
	height: 24px;
	width: 24px;
	border: 1px solid #e6e9eb;
	background-image: none;
  
	z-index: 5;
	top: -7px;
  
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 0 7px rgba(0, 0, 0, .3);
	-o-box-shadow: 0 0 7px rgba(0, 0, 0, .3);
	box-shadow: 0 0 7px rgba(0, 0, 0, .3);
  }
  .ag-calculator_input-wrap .rangeslider__handle:after {
	display: none;
  }
  .ag-calculator_second-level-wrap .rangeslider--horizontal {
	display: block;
	float: right;
	width: 90%;
  }
  /* /rangeslider */
  
  .ag-base_btn-wrap {
	width: 50%;
	padding: 18px 0 0;
	text-align: center;
  
	background-color: #F6F8F9;
  }
  .ag-base_btn {
	display: inline-block;
	line-height: .92;
	padding: 20px 40px;
	border: 0;
	background-color: #78bc1e;
  
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	font-size: 13px;
	color: #FFF;
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-base_btn:hover,
  .ag-base_btn:focus {
	background-color: #5c9017;
  
	text-decoration: none;
	color: #FFF;
  }
  .ag-calculators-block {
	padding: 20px 0;
	/* text-align: center; */
  }
  .ag-calculator-block {
	display: block;
	max-width: 528px;
	width: 100%;
	margin: 0 auto 60px;
	background-color: #FFF;
	border: 1px solid #e6e9eb;
  
	-webkit-box-shadow: 0 12px 24px 0 rgba(0, 0, 0, .06);
	-moz-box-shadow: 0 12px 24px 0 rgba(0, 0, 0, .06);
	-o-box-shadow: 0 12px 24px 0 rgba(0, 0, 0, .06);
	box-shadow: 0 12px 24px 0 rgba(0, 0, 0, .06);
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-calculator_title {
	display: inline-block;
	line-height: 1.33;
	width: 100%;
	padding: 19px 24px;
	border-bottom: 1px solid #e6e9eb;
  
	font-weight: bold;
	text-align: left;
	font-size: 18px;
	color: #4b545c;
  
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  }
  .ag-calculator_input-wrap {
	display: inline-block;
	width: 100%;
	padding: 15px 24px;
	text-align: left;
  
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  
	position: relative;
  }
  .ag-calculator_label {
	line-height: 1.29;
	margin-top: 14px;
	margin-bottom: 0;
  
	font-weight: bold;
	font-size: 14px;
	color: #4b545c;
  }
  .ag-calculator_label-2 {
	margin-left: 50px;
  }
  .ag-calculator_text-input {
	float: right;
	line-height: 1.5;
	width: 60px;
	padding: 9px 8px;
	border: 1px solid #d3d8dc;
	background-color: #FFF;
  
	outline: 0;
  
	font-size: 16px;
	color: #4b545c;
  
	-webkit-box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, .12);
	-moz-box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, .12);
	-o-box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, .12);
	box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, .12);
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-calculator_percent {
	display: inline-block;
	line-height: 1.43;
  
	font-size: 14px;
	color: #9099a3;
  
	position: absolute;
	left: 24px;
	bottom: 8px;
  }
  .ag-calculator_second-level-wrap {
	display: none;
  }
  .ag-calculator_more-levels {
	display: inline-block;
	line-height: 1.5;
	width: 100%;
	padding: 10px 24px;
  
	cursor: pointer;
  
	text-decoration: none;
	text-align: left;
	font-size: 14px;
	color: #149ecc;
  
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  }
  .ag-calculator_more-levels:hover .ag-calculator_levels {
	background-color: #f5f5f5;
  }
  .ag-calculator_levels {
	display: inline-block;
	line-height: 24px;
	width: 100%;
	padding: 7px 10px;
	border: 1px solid #e6e9eb;
  
	font-size: 16px;
  
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
  }
  .ag-calculator_levels:before {
	display: inline-block;
	line-height: 22px;
	margin-right: 10px;
  
	vertical-align: top;
	text-align: center;
	font-size: 22px;
  }
  .ag-calculator_removed-levels:before {
	content: "-";
  }
  .ag-calculator_added-levels:before {
	content: "+";
  }
  .ag-calculator_removed-levels {
	display: none;
  }
  .js-ag-opened .ag-calculator_removed-levels {
	display: inline-block;
  }
  .js-ag-opened .ag-calculator_added-levels {
	display: none;
  }
  .ag-calculator_radio-box {
	display: flex;
	display: -webkit-flex;
	width: 100%;
	margin-top: 12px;
  
	position: relative;
  }
  .ag-calculator_radio-box input[type=radio] {
	visibility: hidden;
  
	position: absolute;
  }
  .ag-calculator_radio-box input[type=radio]:checked + label {
	background-color: #4b545c;
	color: #FFF;
  }
  .ag-calculator_radio-label {
	flex-grow: 1;
	-webkit-flex-grow: 1;
	flex-basis: 0;
	-webkit-flex-basis: 0;
  }
  .ag-calculator_radio-label {
	line-height: .92;
	padding: 16px 10px;
	border: 1px solid #d3d8dc;
	background-color: #e6e9eb;
  
	cursor: pointer;
  
	text-transform: uppercase;
	text-align: center;
	font-size: 13px;
	color: #9099a3;
  }
  .ag-calculator_radio-label:nth-last-of-type(1) {
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
	border-radius: 0 5px 5px 0;
  }
  .ag-calculator_radio-label:nth-of-type(1) {
	-webkit-border-radius: 5px 0 0 5px;
	-moz-border-radius: 5px 0 0 5px;
	border-radius: 5px 0 0 5px;
  }
  .ag-calculator_results-box {
	display: flex;
	display: -webkit-flex;
	width: 100%;
	padding: 5px 2px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
  }
  .ag-calculator_results-info {
	display: inline-block;
	width: 50%;
	padding: 12px 0 0;
	border-right: 1px solid #e6e9eb;
	background-color: #f6f8f9;
  
	text-align: center;
  }
  .ag-calculator_results-title {
	line-height: 1.29;
  
	font-weight: bold;
	font-size: 14px;
	color: #4b545c;
  }
  .ag-calculator_results-sum {
	font-size: 28px;
	color: #4b545c;
  }
  .ag-calculator_results-currency {
	display: inline-block;
	margin-left: 5px;
	margin-top: 5px;
  
	vertical-align: top;
	font-size: 24px;
  }
  
  
  @media only screen and (max-width: 767px) {
	.ag-format-container {
	  width: 96%;
	}
  
  }
  
  @media only screen and (max-width: 639px) {
  
  }
  
  @media only screen and (max-width: 479px) {
  
  }
  
  @media (min-width: 768px) and (max-width: 979px) {
	.ag-format-container {
	  width: 100%;
	}
  
  }
  
  @media (min-width: 980px) and (max-width: 1161px) {
	.ag-format-container {
	  width: 100%;
	}
  
  }

  /* nuevo slider */
  .price-box {
	margin: 0 auto;
	background: #E9E9E9;
	border-radius: 10px;
	padding: 40px 15px;
	width: 500px;
  }
  
  .ui-widget-content {
	border: 1px solid #bdc3c7;
	background: #e1e1e1;
	color: #222222;
	margin-top: 4px;
  }
  
  .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 5.2em;
	height: 2.2em;
	cursor: default;
	margin: 0 -40px auto !important;
	text-align: center;
	line-height: 30px;
	color: #FFFFFF;
	font-size: 15px;
  }
  .ui-slider .ui-slider-handle .glyphicon {
	color: #FFFFFF;
	margin: 0 3px;
	font-size: 11px;
	opacity: 0.5;
  }
  
  .ui-corner-all {
	border-radius: 20px;
  }
  
  .ui-slider-horizontal .ui-slider-handle {
	top: -0.9em;
  }
  
  .ui-state-default, .ui-widget-content .ui-state-default {
	/* border: 1px solid #f9f9f9; */
	background: #3F51B5;
	width: auto;
	min-width: 100px;
  }
  
  .ui-slider-horizontal .ui-slider-handle {
	margin-left: -0.5em;
  }
  
  .ui-slider .ui-slider-handle {
	cursor: pointer;
  }
  /* .ui-slider a {
	cursor: pointer;
	outline: none;
  }
  .ui-slider a:focus {
	cursor: pointer;
	outline: none;
  } */
  
  .price, .lead p {
	font-weight: 600;
	font-size: 32px;
	display: inline-block;
	line-height: 60px;
  }
  
  h4.great {
	background: #3F51B5;
	margin: 0 0 25px -60px;
	padding: 7px 15px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	border-radius: 5px;
	display: inline-block;
	-moz-box-shadow: 2px 4px 5px 0 #ccc;
	-webkit-box-shadow: 2px 4px 5px 0 #ccc;
	box-shadow: 2px 4px 5px 0 #ccc;
  }
  
  .total {
	/*display: inline;
	padding: 10px 5px;*/
	position: relative;
	padding-bottom: 20px;
  }
  
  .price-slider {
	margin-bottom: 30px;
  }
  .price-slider span {
	font-weight: 200;
	display: inline-block;
	color: #7f8c8d;
	font-size: 13px;
  }
  
  .form-pricing {
	background: #ffffff;
	padding: 20px;
	border-radius: 4px;
  }
  
  .price-form {
	background: #ffffff;
	margin-bottom: 10px;
	padding: 20px;
	border: 1px solid #eeeeee;
	border-radius: 4px;
	/*-moz-box-shadow:    0 5px 5px 0 #ccc;
		 -webkit-box-shadow: 0 5px 5px 0 #ccc;
		 box-shadow:         0 5px 5px 0 #ccc;*/
  }
  
  .form-group {
	margin-bottom: 15px;
  }
  .form-group span.price {
	font-weight: 200;
	display: inline-block;
	color: #7f8c8d;
	font-size: 14px;
  }
  
  .help-text {
	display: block;
	margin-top: 32px;
	margin-bottom: 10px;
	color: #737373;
	position: absolute;
	/*margin-left: 20px;*/
	font-weight: 200;
	text-align: right;
	width: 188px;
  }
  
  .price-form label {
	font-weight: 200;
	font-size: 21px;
  }
  
  img.payment {
	display: block;
	margin-left: auto;
	margin-right: auto;
  }
  
  .ui-slider-range-min {
	background: #3F51B5;
  }
  
  /* HR */
  hr.style {
	margin-top: 0;
	border: 0;
	border-bottom: 1px dashed #ccc;
	background: #999;
  }
  /* agregadas */
  .col-sm-6 {
	  width: 100%;
	  font-size: 28px !important;
  }
  .col-sm-12 {
	  margin-bottom: 30px;
  }

.bg-modal{
	width: 100%;
	height:100%;
	background-color: rgba(0,0,0,0.5); /* make it half transparent */
	position: absolute;
	top:0px;
	z-index: 1;
	display: none;  /* It will remain invisible until you open */
	justify-content: center; /*center horizontally*/ 
	align-items: center ; /* center vertically */
}
.modal-content{
	width:600px;
	height:300px;
	background-color: white;
	border:none; 
	border-radius: 15px;
	padding:15px;
	position: relative;
}
.close{
	position: absolute;
	top:5px;
	right: 14px;
	font-size:25px;
	transform: rotate(45deg); /* will make it look like x */
	cursor: pointer;
}
