[class*="col-"] {
	box-sizing: border-box;
}

.col-lg-1 {width: 8.33%;	}
.col-lg-2 {width: 16.66%;	}
.col-lg-3 {width: 25%;		}
.col-lg-4 {width: 33.33%;	}
.col-lg-5 {width: 41.66%;	}
.col-lg-6 {width: 50%;		}
.col-lg-7 {width: 58.33%;	}
.col-lg-8 {width: 66.66%;	}
.col-lg-9 {width: 75%;		}
.col-lg-10{width: 83.33%;	}
.col-lg-11{width: 91.66%;	}
.col-lg-12{width: 100%;		}

@media(max-width: 600px)
{
	.col-sm-1 {width: 8.33%;	}
	.col-sm-2 {width: 16.66%;	}
	.col-sm-3 {width: 25%;		}
	.col-sm-4 {width: 33.33%;	}
	.col-sm-5 {width: 41.66%;	}
	.col-sm-6 {width: 50%;		}
	.col-sm-7 {width: 58.33%;	}
	.col-sm-8 {width: 66.66%;	}
	.col-sm-9 {width: 75%;		}
	.col-sm-10{width: 83.33%;	}
	.col-sm-11{width: 91.66%;	}
	.col-sm-12{width: 100%;		}
}

@media(max-width:600px)
{
	[class*="col-lg"] {
		width: 100%;
	}	
}
.macro-calcualtor-sec {
	font-family: arial;
	width: 30%;
	min-width: 400px;
	max-width: 100%;
	height: 720px;
	background: #F9F9F9;
	border: 1px solid #eee;
	box-shadow: 0px 0px 20px #eee;
	margin:auto; 
	float:none !important;
	overflow: hidden;
	margin-top: 100px;
	position: relative;
}

@media(max-width:1150px) {
	.macro-calcualtor-sec {
		width: 70%;
	}
}
@media(max-width:960px) {
	.macro-calcualtor-sec {
		width: 100%;
	}
}
@media(max-width:600px){
	.macro-calcualtor-sec {
		height: 700px;
	}
}
.macro-calcualtor-sec div {
	float: left;
	box-sizing: border-box;
}
.macro-calcualtor-sec .result-sec {
	width: 100%;
	position: absolute;
	height: 100%;
	z-index: 5;
	transition: all 0.4s ease-in-out;
	background: #000;
	position: relative;
	top:-98%; 
	padding: 40% 10px 0px 10px;
}
.macro-calcualtor-sec .result-sec.show {
	top:0%; 	
}

.macro-calcualtor-sec .result-sec .re-cal {
	padding:5px 10px; 
	border-radius: 3px;
	background: #28A7E9;
	color:white;
	font-size: 20px;
	cursor: pointer; 
}
.macro-calcualtor-sec .result-sec .macro-result-box {
	width: 50%;
	padding:20px 20px;
	color:#fff;
	text-align: center;
}
.macro-calcualtor-sec .result-sec .macro-result-box label {
	font-size: 20px;
}
.macro-calcualtor-sec .result-sec .macro-result-box span {
	font-size: 34px;
	font-weight: bolder;
	width: 100%;
	color: #28A7E9;
	margin: 5px 0px;	
	display: block;
}
.macro-calcualtor-sec .result-sec .macro-result-box:nth-child(1)  {
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
}
.macro-calcualtor-sec .result-sec .macro-result-box:nth-child(2)  {
	border-bottom: 1px solid #fff;
}
.macro-calcualtor-sec .result-sec .macro-result-box:nth-child(3)  {
	border-right: 1px solid #fff;
}
.checkbox+.checkbox, .radio+.radio { margin-top:0px !important; }
.macro-calcualtor-sec .result-sec::before {
	position: absolute;
	border-top: 0px solid #000;
	border-left: 500px solid #000;
	border-right: 20px solid transparent;
	border-bottom: 20px solid transparent;
	bottom: -20px;
	left: -10px;
	content: "";
} 
.macro-calcualtor-sec .macro-calculator-form {
	width: 100%;
	min-height: 20px;
	margin-top: 30px;
	padding:20px; 
	position: absolute;
}

.macro-calcualtor-title {
	display: block;
	float: left;
	font-size: 24px;
	width: 100%;
	text-align: center;
} 
.macro-calcualtor-title label {
	border-bottom: 1px #ccc dashed;
	font-weight: bold;
}
.macro-calcualtor-group {
	width: 100%;
	margin:15px 0px; 
}
.macro-calcualtor-input {
	width: 90%;
	margin: 5px 0px;
	height: 30px;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding-left: 10px;
	font-weight: bold;  
}
.macro-calcualtor-group select{
	height: 35px;
	width: 90%;
}
.macro-calcualtor-group label {
	color:  #28A7E9;

	font-weight: bold;
	float: left;
	width: 100%;
}
.macro-calcualtor-button {
	padding:10px 30px;
	border-radius: 5px;
	border:1px solid #ccc; 
	cursor: pointer;
	box-shadow: 0px 0px 10px #aaa;
	background: black;
	color:  #28A7E9;
	font-weight: bold;
	font-size: 18px;
}
.macro-calculator-tab-button {
	padding:10px 20px;
	font-size: 16px;
	border: none;
	cursor: pointer;
	background: black;
	color: #28A7E9;
	font-weight: bold; 
	opacity: 0.6;
}
.tab {
	display: none;
}
.tab.show {
	display: block;
}
.macro-calculator-tab-button.active {
	opacity: 1;
	background: #28A7E9;
	color: black;
	box-shadow: 0px 0px 5px #186E9B inset;
}
.macro-calculator-tab-button:focus {
	outline: none;
}
.macro-calcualtor-button:focus {
	outline:none; 
}
/********* Radio Button **********/
.radio {
	height: 30px;
	margin-right: 20px;
}
.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio input[type="radio"] + .radio-label  {
	color: #000;
	font-size: 16px;
	cursor: pointer;
	float: left;			
}
.radio input[type="radio"] + .radio-label:before {
  content: "";
  background-color: #777;
  border-radius: 100%;
  display: inline-block;
  width: 1.1em;
  opacity: 0.6;
  height: 1.1em;
  position: relative;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
	box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type="radio"] + .radio-label {
	opacity: 0.6;
}
.radio input[type="radio"]:checked + .radio-label:before {
  background-color: #000;
  opacity: 1;
}
.radio input[type="radio"]:checked + .radio-label{
  opacity: 1;
}
.radio input[type="radio"]:focus + .radio-label:before {
  outline: none;
  border-color: #3197EE;
}
.radio input[type="radio"] + .radio-label:empty:before {
  margin-right: 0;
}	
/********  end Radio Button ************/