.bg-grey-very-dark {
	background-color: #111111;
}

.header-text-large {
	font-size: 2.8em !important;
}

.calculator-text-title {
	text-decoration: none;
	color: #007fac !important;
}

.calculator-text-body {
	text-decoration: none;
}

.calc-bgimage {
	background-image:
		url(/wcsstore/ExtendedSitesCatalogAssetStore/cms/asset/images/common/calculators/number-header-img.jpg);
	background-position: center center !important;
	background-size: auto !important;
	background-repeat: no-repeat;
}

.calculator-text-override h3 {
	font-size: 1.8em !important;
}

.bg-grey-very-dark {
	background-color: #111111;
}

.header-text-large {
	font-size: 2.8em !important;
}

.calculator-text-title {
	text-decoration: none;
	color: #007fac !important;
}

.calculator-text-body {
	text-decoration: none;
}

.calc-bgimage {
	background-image:
		url(/wcsstore/ExtendedSitesCatalogAssetStore/cms/asset/images/common/calculators/number-header-img.jpg);
	background-position: center center !important;
	background-size: auto !important;
	background-repeat: no-repeat;
}

.calculator-text-override h3 {
	font-size: 1.8em !important;
}

.calcWrapper {
	float: left;
	flex: 0 25%;
	padding-left: 15px;
	padding-right: 15px;
}
.calcWrapper a.btn-tertiary{
	white-space: pre-wrap;
}
.calcContainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

/* Media Query for all devices */

@media only screen     
and (min-device-width : 1024px) 
and (max-device-width : 1366px) 
and (orientation : portrait) 
and (-webkit-min-device-pixel-ratio: 2) {
  /* PORTRAIT: 
	Apple Ipad Pro */ 
	.calcWrapper {
		flex: 0 50%;
	}
}
 	
@media only screen and (max-width: 800px) and (orientation : portrait) {
	/* PORTRAIT:
	Samsung Galaxy Tab 3(10")
	Amazon indle Fire HD
	Motorola Xoom 1, 2 */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 768px) and (orientation : portrait) {
	/* PORTRAIT:
	Apple iPad 1,2,3,4,Air, Mini
	Microsoft Surface
	HP Touchpad
	LG Optimus Pad  */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 720px) and (orientation : portrait) {
	/* PORTRAIT:
	Microsof Surface Pro */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 600px) and (orientation : portrait) {
	/* PORTRAIT:
	Asus Nexus 7
	BlackBerry PlayBook
	Kindle 3
	LG G Pad 8.3
	Samsung Galaxy Tab 2(7") */
	.calcWrapper {
		flex: 0 100%;
	}
}


	/*Mobile. Iphone 6 plus and galaxy edge will go somewhere here*/
	
@media only screen and (max-width: 400px) and (orientation : portrait) {
	/* PORTRAIT: (some of them might need to be broken out into '360px')
	Apple Iphone 6
	Samsung Galaxy S3, S4, S5, S6, S7
	Samsung Galaxy Note, Note 2
	Motorola Moto G
	LG Nexus 5
	Google Nexus 5
	HTC One X, Sensation
	BlackBerry Bold 9900
	BlackBerry Z10 */
	.calcWrapper {
		flex: 0 100%;
	}
}

@media only screen and (max-width: 320px) and (orientation : portrait) {
	/* PORTRAIT:
	Apple iPhone 3, 4, 5
	HTC Nexus One, Evo
	LG Optimus
	Nokia N900
	Nokia Lumia 1020
	Samsung Galaxy S, S2 */
	.calcWrapper {
		flex: 0 100%;
	}
}


@media only screen and (max-width: 1366px) and (orientation : landscape) {
	/* LANDSCAPE:
	Microsoft Surface 
	Apple Ipad Pro */
	.calcWrapper {
		flex: 0 25%;
	}
}

@media only screen and (max-width: 1280px) and (orientation : landscape) {
	/* LANDSCAPE:
	Samsung Galaxy Tab(7.7 > 12.2)
	Mictosoft Surface Pro 1, 2
	Acer Iconia Tab (A100-A500)
	ASUS Transformer Pad TF300T
	Motorola Xoom 1, 2
	LG Optimus Pad */
	.calcWrapper {
		flex: 0 25%;
	}
}

@media only screen and (max-width: 1024px) and (orientation : landscape) {
	/* LANDSCAPE:
	Apple iPad 1,2,3,4,Air,Mini
	BlackBerry PlayBook
	Samsung Galaxy Tab 2(7") */
	.calcWrapper {
		flex: 0 25%;
	}
}

@media only screen and (max-width: 980px) and (orientation : landscape) {
	/* LANDSCAPE:
	Nexus 7
	HTC Evo 3D */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 800px) and (orientation : landscape) {
	/* LANDSCAPE:
	Iphone 6plus
	Kindle Fire HD 7, 8
	HTC Desire Z
	Nokia N900
	Samsung Galaxy Grand */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 640px) and (orientation : landscape) {
	/* LANDSCAPE:
	Samsung Galaxy S3, S4, S5, S6, S7
	Samsung Galaxy Note 1, 2
	HTC One S, V
	Nokia 500 */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 600px) and (orientation : landscape) {
	/* LANDSCAPE:
	Nexus 4
	Apple iPhone 5 */
	.calcWrapper {
		flex: 0 50%;
	}
}

@media only screen and (max-width: 540px) and (orientation : landscape) {
	/* LANDSCAPE:
	HTC Desire, One
	LG Optimus 2X
	Nexus S
	Samsung Galaxy S2
	BlackBerry Z10 */
	.calcWrapper {
		flex: 0 50%;
	}
}
