@font-face {
	src: url(../fonts/Agenda-Medium.otf);
	font-family: Agenda;
}

@font-face {
	src: url(../fonts/Agenda-Bold.otf);
	font-family: Agenda-Bold;
}

#buttons-container {
	margin: 0 0 0 15px;
}

#calc {
	padding: 20px 30px;
	background: url("../image/background.png") no-repeat bottom center;
	padding-bottom: 440px;
	background-size: 100% auto;
	margin: 0 -50px;
	word-break: break-word;
}

.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
	height:35px !important;
}

.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:95px !important;
}

.calculator-container {
	padding: 0px 15px !important;
}

.calculator-header {
	font-family: Agenda-Bold, Arial;
	font-size: 24px;
	font-weight: bold;non
	line-height: 26px;
	text-align: left;
	color: #333333;
	margin-bottom: 40px;
}

.calculator-text {
	font-family: Agenda, Arial;
	font-size: 16px;
	font-weight: 300;
	line-height: 23px;
	text-align: left;
	color: #333333;
	margin-top: 30px;
	margin-bottom: 30px;
}

.calculator-nav-tab {
	padding: 0;
}

.calculator-nav-tab div {
	width: 362px;
	height: 48px;
	display: table-cell;
	cursor: pointer;
	border: solid 1px #e5e5e5;
	background-color: #ffffff;
	font-family: Agenda, Arial;
	font-size: 16px;
	line-height: 1.19;
	text-align: center;
	color: #333333;
	vertical-align: middle;
	transition: background 0.5s;
}

.calculator-nav-tab p {
	margin: unset;
}

.calculator-nav-tab .active {
	background-color: #002469;
	color: #fff;
}

.systemCapacity-circle {
	width: 100%;
	border-radius: 50%;
	display: block;
	border: 5px solid #002469;
	text-align: center;
	font-weight: 600;
	vertical-align: middle;
	color: #002469;
	cursor: pointer;
	transition: 0.5s;
	background-color: #fff;
	background-position: center;
	outline: none;
	font-family: Agenda-Bold, Arial;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.17;
}

.systemCapacity-circle:hover {
	color: #fff;
	background: #002469 radial-gradient(circle, transparent 1%, #002469 1%) center/15000%;
	box-shadow: 0px 2px 5px grey;
}

.systemCapacity-circle:active {
	background-color: #002D83;
	background-size: 100%;
	transition: background 0s;
	box-shadow: 0px 4px 5px grey;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1006;
	padding-top: 2%;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 70px 0px;
	border: 1px solid #888;
	width: 70%;
}

.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

#modal-header {
	text-align: center;
	display:none;
	height:0;
}

#modal-header p {
	font-family: Agenda, Arial;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.23;
	color: #333333;
	margin-bottom: 10px;
}

#modal-header h1 {
	font-family: Agenda-Bold, Arial;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.17;
	color: #e1091d;
}

#modal-details-container {
	padding: 50px 10%;
	text-align: center;
}

#modal-details-container h1 {
	font-family: Agenda-Bold, Arial;
	font-size: 30px;
	font-weight: bold;
	line-height: 1.5;
	color: #333333;
}

#modal-details-container p {
	font-family: Agenda, Arial;
	font-size: 16px;
	line-height: 1.38;
	color: #333333;
	margin-top: 0px;
}

#modal-footer {
	text-align: center;
	width: 40%;
	margin: auto;
}

#modal-footer button {
	width: 80%;
	height: 47px;
	border-radius: 36px;
	font-family: Agenda, Arial;
	font-size: 16px;
	line-height: 1.19;
	text-align: center;
	margin: 0 10px;
	transition: 0.5s;
	outline: none;
}

#modal-footer .modal-btn-viewPackages {
	border: solid 2px #e1091d;
	background-color: #e1091d;
	color: #fff;
}

#modal-footer .modal-btn-viewPackages:hover {
	border: solid 2px #002469;
	background-color: #002469;
	color: #fff;
	box-shadow: 0px 2px 5px grey;
}

#modal-footer .modal-btn-viewPackages:active {
	background-color: #0c3075;
	background-size: 100%;
	transition: background 0s;
	box-shadow: 0px 4px 5px grey;
}

#modal-footer .modal-btn-calculateAgain {
	border: solid 2px #e1091d;
	background-color: #fff;
	color: #e1091d;
}

#modal-footer .modal-btn-calculateAgain:hover {
	border: solid 2px #e1091d;
	background-color: #e1091d;
	color: #fff;
	box-shadow: 0px 2px 5px grey;
}

#modal-footer .modal-btn-calculateAgain:active {
	background-color: #f95969;
	background-size: 100%;
	transition: background 0s;
	box-shadow: 0px 4px 5px grey;
}

#coProducedPPM {
	font-size: 14px;
}

.close {
	position: absolute !important;
	right: 5% !important;
	top: 5% !important;
}

.circle-container-lower {
	margin-top: 0px !important;
}

.sticky-nav.affix {
	width: unset;
}

#calc .row {
	padding: unset !important;
}

.topText {
	display:block;
}

.bottomText {
	display:none;
}

@media screen and (max-width: 1366px) {
	#calc {
		margin: 0 -50px;
		padding-bottom: 450px;
		background-size: 100% auto;
	}
}

@media screen and (max-width: 1300px) {
	#modal-footer {
		width: 50%;
	}
}

@media screen and (max-width: 1024px) {

#modal-details-container p{
    font-size: 15px;
}
	#buttons-container {
		/*margin: unset;*/
	}
	#calc {
		margin: 0 -60px;
		padding-bottom: 380px;
		background-size: 100% auto;
	}
	.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
		height:35px !important;
	}
	.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:95px !important;
	}

	#modal-footer {
		width: 60%;
	}
	.container .row {
		padding: 0 !important;
		margin: 0px !important;
	}
	.calculator-container .container .row {
		padding: 0 !important;
		margin: 0px 15px !important;
	}
	#calc .row {
		padding: unset !important;
		/*margin-left: -15px !important;
		margin-right: -15px !important;*/
	}
	.systemCapacity-circle {
		width: 91px !important;
		height: 91px !important;
	}
	.modal-content {
		width: 90%;
	}
}

@media screen and (max-width: 768px) {
	.topText {
		display:none;
	}

	.bottomText {
		display:block;
	}
	
	#buttons-container {
		margin: 0 0 0 30px;
	}
	#calc .row {
		padding: unset !important;
		margin-left: -15px !important;
		margin-right: -15px !important;
	}
	#calc {
		margin: 0 -45px;
		padding-bottom: 300px;
		background-size: 100% auto;
	}
	.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
		height:35px !important;
	}
	.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:75px !important;
	}

	#modal-footer {
		width: 80%;
	}
	#calc .row {
		padding: unset !important;
		margin-left: -15px !important;
		margin-right: -15px !important;
	}
	.calculator-container {
		padding: 0px 0px !important;
	}
	.container .row {
		margin: 0;
	}
	.section-title {
		padding: 20px 10px 20px;
	}
	.iw_section .iw_row .iw_columns {
		padding: 0;
	}
	#calculatorModal {
		padding-top: 20px;
		-webkit-overflow-scrolling: touch;
	}
	.modal-content {
		padding: 40px 0px;
		width: 95%;
	}
	#modal-details-container {
		padding: 20px 5%;
	}
	.container .row {
		margin: 0px !important;
		/*padding: 0px 15px;*/
	}
	.close {
		position: absolute !important;
		right: 5% !important;
	}
	#modal-details-container h1 {
		margin-top: 35px;
	}
	#residential-options,
	#commercial-options {
		padding: 0px 15px !important;
	}
	.systemCapacity-circle {
		width: 152px !important;
		height: 152px !important;
	}
	/*.circle-container {
		padding: 0px !important;
	}*/
}

@media screen and (max-device-width: 414px) {
	.topText {
		display:none;
	}

	.bottomText {
		display:block;
	}
	
	 #modal-details-container h1 {
		font-size: 20px !important;
	}


     #buttons-container {
          margin: unset;
	}

	#calc {
		margin: 0 -10px;
		padding-bottom: 30px;
		background-size: 180% auto;
	}
	.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
		height:35px !important;
	}
	.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:80px !important;
}

	#modal-footer {
		width: 90%;
	}
	#modal-footer button {
		width: 90%;
		font-size: 15px;
	}
	.calculator-container {
		padding: 0px 0px !important;
	}
	.container .row {
		margin: 0;
	}
	.section-title {
		padding: 20px 10px 20px;
	}
	.iw_section .iw_row .iw_columns {
		padding: 0;
	}
	#calculatorModal {
		padding-top: 20px;
	}
	.modal-content {
		padding: 40px 0px;
		width: 95%;
	}
	#modal-details-container {
		padding: 20px 5%;
	}
	.container .row {
		margin: 0px !important;
		/*padding: 0px 15px;*/
	}
	.close {
		position: absolute !important;
		right: 5% !important;
	}
	#modal-details-container h1 {
		margin-top: 35px;
	}
	#residential-options,
	#commercial-options {
		padding: 0px 0px !important;
	}
	.circle-container-lower {
		margin-top: 20px !important;
	}
	.systemCapacity-circle {
		width: 162px !important;
		height: 162px !important;
	}
}

@media screen and (max-device-width: 375px) {
	.topText {
		display:none;
	}

	.bottomText {
		display:block;
	}

	#calc {
		margin: 0 -10px;
		padding-bottom: 30px;
		background-size: 180% auto;
	}
	.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
		height:55px !important;
	}
	.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:110px !important;
	}

	#modal-footer {
		width: 90%;
	}
	#modal-footer button {
		width: 90%;
		font-size: 15px;
	}
	.calculator-container {
		padding: 0px 0px !important;
	}
	.container .row {
		margin: 0;
	}
	.section-title {
		padding: 20px 10px 20px;
	}
	.iw_section .iw_row .iw_columns {
		padding: 0;
	}
	#calculatorModal {
		padding-top: 20px;
	}
	.modal-content {
		padding: 40px 0px;
		width: 95%;
	}
	#modal-details-container {
		padding: 20px 5%;
	}
	.container .row {
		margin: 0px !important;
		/*padding: 0px 15px;*/
	}
	.close {
		position: absolute !important;
		right: 5% !important;
	}
	#modal-details-container h1 {
		margin-top: 15px;
	}
	#residential-options,
	#commercial-options {
		padding: 0px 0px !important;
	}
	.circle-container-lower {
		margin-top: 20px !important;
	}
	.systemCapacity-circle {
		width: 142px !important;
		height: 142px !important;
	}
}

@media screen and (max-device-width: 320px) {
	.topText {
		display:none;
	}

	.bottomText {
		display:block;
	}
	
	.systemCapacity-circle {
		width: 115px !important;
		height: 115px !important;
	}
	
	#modal-details-container h1 {
		font-size: 20px;
	}
	.coProducedtext, .fewerCarstext, .moreTreestext, .moreSavingstext {
		height:60px !important;
	}
	.thailand .coProducedtext, .thailand .fewerCarstext, .thailand .moreTreestext, .thailand .moreSavingstext {
	height:120px !important;
}

}