/* Esri South Asia Landing page CSS */
html, body {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.clear {
	clear: both;
	height: 0;
}
a  {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

h1, h2, h3, p, ul li {
	line-height: 1.2em;
}
h1 {
	font-family: 'AvenirHeavy';
	font-size: 38px;
}
h3 {
	font-size: 22px;
	color: #000;
	font-weight: bold;
}
h1 span, h2, h3, p, ul li {
	font-family: 'AvenirLight';
}
ul {
	list-style:disc outside none; 
	margin-left:40px;
}

/* header */
header {
	background: url('../img/esa_banner_final.jpg') top center no-repeat;
	height: 300px;
}
header h1 {
	color: #fff;
	padding-top: 126px;
	text-align: center;
}

/* main content */
main {
	display: block;
}
.main-panel {
	/* max-width: 1180px; */
	margin: -23px auto 0 auto;
	display: block; 
}

/* company tiles */
.company-tiles {
	text-align: center;
}
.tile-URL {
	width: 343px;
	height: 161px;
	display: inline-block;
	margin: 0 24px 16px 0;
}
.tile-URL.c-Singapore {
	background: url('../img/esa_tile_singapore.jpg') no-repeat;
}
.tile-URL.c-SouthAsia {
	background: url('../img/esa_tile_south_asia.jpg') no-repeat;
}
.tile-URL.c-SouthAsia:hover {
	background: url('../img/esa_tile_contact_hover.jpg') no-repeat;
}
.tile-URL.c-Malaysia {
	background: url('../img/esa_tile_malaysia.jpg') no-repeat;
	margin-right: 0;
}
.tile-URL.c-Indonesia {
	background: url('../img/esa_tile_indonesia.jpg') no-repeat;
	margin-bottom: 0;
}
.tile-URL.c-Australia {
	background: url('../img/esa_tile_australia.jpg') no-repeat;
	margin-bottom: 0;
}
.tile-URL.c-MapDataServices {
	background: url('../img/esa_tile_mds.jpg') no-repeat;
	margin: 0;
}
.tile-URL:hover {
	background: url('../img/esa_tile_site_hover.jpg') no-repeat;
}

/* divider */
.divider {
	margin: 90px auto 87px auto;
	width: 100%;
}
.divider-form {
	margin: 40px auto 0 auto;
	width: 100%;
}

/* main copy */
.main-copy {
	max-width: 1180px;
	margin: 0 auto;
	display: block;
}
.main-copy h2 {
	font-family: 'AvenirLight';
	font-size: 28px; 
	line-height: 1.2em;
	color: #1a9fcc;
	padding: 0 109px 27px 109px;
	text-align: center;
}
.main-copy p {
	font-size: 20px; 
	color: #333;
	text-align: center;
	padding: 0 228px 28px 228px;
} 
.main-copy a, .main-copy a:hover  {
	color: #2a7433;
}

/* contact & form panel */
.contact-esa {
	background: url('../img/esa_contact_bg-lrg.png') top center no-repeat;
	min-height: 535px;
	margin-top: 63px;
}
.contact-esa h2, .auth-resell h2 {
	font-family: 'AvenirHeavy';
	font-size: 32px; 
	color: #fff;
	text-align: center;
}
.contact-box {
	width: 33.3%;
	float: left;
	padding-top: 28px;	
	min-height: 230px;
}
.contact-box.l-row {
	min-height: 155px;
}
#mobile-hide.contact-box {
	padding-top: 0;	
}

.esa-intro h3 {
	font-family: 'AvenirMedium';
	font-size: 24px; 
	color: #f89927;
}
.underline-orange {
	border-bottom: 2px solid #f89927;
	width: 250px;
	margin: 10px 0 20px 0;
}
.contact-box p, #esa-secondary .main-content .contact-box p {
	font-size: 15px; 
	color: #fff;
	line-height: 1.2em;
	padding: 0 80px 8px 0;
}
.contact-box a, .contact-box a:hover,
#esa-secondary .main-content .contact-box a, #esa-secondary .main-content .contact-box a:hover {
	color: #fff;
}
.esa-icon {
	width: 36px; /* width: 48px; */
	padding-right: 10px;
	float: left;
}
.contact-heading {
	width: 275px; /* width: 290px; */
	float: left;
}
.esa-sections h3 {
	font-family: 'AvenirRoman';
	color: #fff;
	font-size: 18px; 
	padding: 7px 0 1px 10px;
}
.esa-sections h3 span {
	letter-spacing: 0.1em;
	color: 	#f89927;
}
.esa-sections h3 a:hover {
	text-decoration: none;
}
.esa-sections p, #esa-secondary .main-content .esa-sections p {
	padding: 0 0 8px 50px;
}
.esa-sections p.more-info, #esa-secondary .main-content .esa-sections p.more-info {
	padding: 10px 0 0 50px;	
}
.contact-email {
	margin-top: 25px;
}
/* subscribe btn */
.subscribe-cta a {
	border: 2px solid #f89927;
	padding: 20px 0; 
	display: block;
	width: 286px;
	text-align: center;
	font-family: 'AvenirLight';
	font-size: 18px;
}


/* footer */
footer {
	height: 100%;
}
footer p {
	font-family: 'AvenirLight';
	font-size: 14px; 
	color: #8a8a8a;
}
.copyright {
	float: left;
	width: 30%;
	height: 100%;
	background-color: #ebebeb;
}
.offices {
	float: left;
	width: 70%;
	height: 100%;
	text-align: right;
}
.copyright p {
	padding: 15px 0 15px 40px;
}
.offices p {
	padding: 15px 40px 15px 0;	
}
.offices a, .offices a:hover  {
	color: #8a8a8a;
}

/* Secondary pages - Brunei and Bangladesh */

#esa-secondary header {
	background: url('../img/narrow_banner.jpg') top center no-repeat;
	height: 150px;
	position: relative;
}
#esa-secondary header h1 {
	padding: 0;
	line-height: 150px;
}
header .h-container {
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	text-align: center;
}
header .h-container img {
	padding: 48px 0;
}

#esa-secondary .main-content, .main-content {
	max-width: 1180px;
	margin: 0 auto;
	display: block;
	padding: 30px 0;
}
#esa-secondary .main-content h1 {
	color: #1a9fcc;
	text-align: center;
	margin-bottom: 28px;
}
#esa-secondary .main-content p {
	font-size: 20px; 
	color: #333;
	padding-bottom: 28px;
} 
#esa-secondary .main-content a, 
#esa-secondary .main-content a:hover  {
	color: #2a7433;
}
#esa-secondary .main-content ul {
	margin: 0 0 28px 40px;	
}
#esa-secondary .main-content ul li {
	color: #333;
	font-size: 20px;
	padding-bottom: 8px;
}
#esa-secondary .main-content ul li.last,
#esa-secondary .main-content p.last {
	padding-bottom: 0;	
}
#esa-secondary .main-content ul.inner-list {
	margin: 8px 0 0 40px;	
}

/* direct contact - brunei & bangladesh */
.direct-contact {
	background: url('../img/training-background-light.jpg') top center no-repeat;
}
#esa-secondary .direct-contact h2, .form-inner h2,
#esa-secondary .main-content .promo-boxes h2 {
	font-size: 28px; 
	color: #1a9fcc;
	text-align: center;
	padding: 0 0 14px 0;
}
#esa-secondary .main-content .promo-boxes h2 {
	padding: 28px 0 14px 0;
}
#esa-secondary .direct-contact p {
	padding: 0 0 8px 0;	
}
.direct-contact img {
	float: left;
	margin-right: 50px;
	width: 180px;
}
.direct-contact-details {
	padding-top: 15px;
	float: left;
	margin-right: 50px;
}
.direct-contact-details .phone, .direct-contact-details .email,
.direct-contact-details .linkedin {
	height: 24px;
	text-indent: 35px;
}
.direct-contact .main-content .direct-contact-details .pos-title {
	padding-bottom: 15px;	
}
.direct-contact-details .phone {
	background: url('../img/esa_phone_icon_sm.png') top left no-repeat;	
}
.direct-contact-details .email {
	background: url('../img/esa_email_icon_sm.png') top left no-repeat;
}
.direct-contact-details .linkedin {
	background: url('../img/esa_linkedin_icon_sm.png') top left no-repeat;	
}
#esa-secondary .esa-footer {
	border-top: 1px solid #cbcbcb;
}
#esa-secondary .contact-esa {
	margin-top: 28px;
	overflow: hidden;
}

/* subscribe form styles */
.subscribe-form form {
	margin: 10px 0 20px 0;
	width: 100%;
}
.subscribe-form .name-field {
	width: 45%;
	float: left;
}
.subscribe-form .name-field input {
	width: 45%;
}
.subscribe-form .name-field label.twoRow {
	width: 94px;
}
.subscribe-form label {
	width: 215px;
	text-align: right;
	display: inline-block;
	font-size: 16px;
}
.subscribe-form select {
	cursor: pointer;
}
.subscribe-form input, .subscribe-form select,
.subscribe-form select option {
	font-family: inherit;
	color: #333;
	font-size: 14px;
	padding: 3px 4px 2px 4px;
}
.subscribe-form input, .subscribe-form select {
	margin-left: 20px;	
	width: 55%;
	height: 2em;
	vertical-align: top;
}
.subscribe-form input, .subscribe-form select, 
.subscribe-form textarea {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.subscribe-form button {
	background-color: #007ec2;
	border: 1px solid #1873a8;
	color: #fff;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 20px;
	font-weight: bold;
	border-radius: 8px;
	cursor: pointer;
	display: block;
	margin: 0 auto;
}
.subscribe-form button:hover {
	background-color: #124380;	
}
/* Bangladesh page */
#esa-secondary .subscribe-form .main-content {
	padding: 0 0 8px 0;
}
/* Subscribe page */
#esa-secondary .main-content.subscribe-form {
	padding: 28px 0 0 0;
}
#esa-secondary .main-content p.privacy {
	font-size: 15px;	
}
/* thank you */
.subscribe-form .main-copy {
	padding: 40px 0;
}

/* authorised resellers */
#esa-secondary .auth-resell {
	overflow: hidden;
	margin-top: 28px
}
#esa-secondary .auth-resell .main-content {
	padding: 0;
}
#esa-secondary .auth-resell h2,
#esa-secondary .auth-resell .contact-box p{
	color: #333;
}
#esa-secondary .auth-resell .contact-box {
	min-height: 175px;
}

#esa-secondary .main-content .cta {
	background-color: #f1f1f1;
	padding: 40px 20px;
	text-align: center;
}
#esa-secondary .main-content .cta p {
	padding-bottom: 0;
	font-weight: bold;
}

#esa-secondary .main-content .promo-boxes {
	margin: 0 0 28px 0;
	overflow: auto;
}
#esa-secondary .main-content .promo-box {
	border: 1px solid #f89927;
	width: 44.5%;
	margin-right: 35px;
	float: left;
	overflow: auto;
	padding: 20px;
	min-height: 180px;
}
#esa-secondary .main-content .promo-box.last {
	margin-right: 0;
}
#esa-secondary .main-content .promo-box p:last-child {
	padding-bottom: 0;
}

/* GIS Impact Awards */
.impact h2, .impact h3 {
	color: #1a9fcc;
	padding-bottom: 14px;
	font-weight: bold;
}
.impact h2 {
	font-size: 22px;
}
.impact h3 {
	font-size: 20px;	
}
#esa-secondary .impact .main-content ul li {
	padding-bottom: 28px;
}
#esa-secondary .impact .main-content ul li.last {
	padding-bottom: 0;
}
#esa-secondary .impact .main-content a {
	text-decoration: underline;
}

		/* 
Generic Styling, for Desktops/Laptops 
*/
table.dev-sub { 
  	/* width: 1180px; */
	margin: 0 auto 35px auto;
	border-collapse: collapse; 
}
/* Zebra striping */
table.dev-sub tr:nth-of-type(odd) { 
  background: #eee; 
}
table.dev-sub th { 
  background: #333; 
  color: #fff!important; 
  font-weight: normal; 
}
table.dev-sub td, table.dev-sub th { 
  padding: 12px; 
  border: 1px solid #ccc; 
  text-align: left; 
	font-size: 20px;
	font-family: 'AvenirLight';
}
table.dev-sub th.l-type {
  width: 10%;
}
#esa-secondary .main-content table.dev-sub td ul {
		margin: 0 0 0 20px;
	}

/* 1081px */
@media screen and (max-width: 1081px){
	#esa-secondary .main-content .promo-box {
		width: 90%;
		float: none;
		text-align: center;
		margin: 0 auto;
	}
	#esa-secondary .main-content .promo-box.last {
		margin-top: 28px;
		margin-right: auto;
	}
}

/* @media only screen  and (max-device-width : 1024px) { */
@media screen and (max-width:1024px) {

	/* Styles */
	.esa-intro h3, .esa-intro p,
	#esa-secondary .main-content .esa-intro h3, #esa-secondary .main-content .esa-intro p {
		padding-left: 20px;
	}
	.esa-intro .underline-orange {
		margin-left: 20px;
	}
	footer p {
		font-size: 12px;
	}
	.copyright p, .offices p {
		padding: 15px 10px;
	}
	.offices p a, .offices p a:hover {
		font-size: 12px;
		font-family: 'AvenirLight';
	}
	.contact-esa {
		background: url('../img/esa_contact_bg-lrg.png') #2d3339 top center no-repeat;
		min-height: 735px;
	}
	.contact-box {
		min-height: 350px;
	}
	.contact-box.l-row {
		min-height: 200px;
	}
	#esa-secondary .main-content p, #esa-secondary .subscribe-form .main-content p {
		padding: 0 40px 28px 40px;
	}
	#esa-secondary .main-content ul, #esa-secondary .main-content ul.inner-list {
		/* margin: 0 0 28px 100px; */
		margin: 0 40px 28px 80px;
	}
	#esa-secondary .direct-contact .main-content, #esa-secondary .program-form .main-content {
		padding: 30px 40px;	
	}
	#esa-secondary .direct-contact .main-content p {
		padding: 0 0 8px 0;
	}
	.subscribe-cta { margin-left: 20px; }
	
	#esa-secondary .auth-resell .esa-intro h3, #esa-secondary .auth-resell .esa-intro p {
		padding-left: 40px;
	}
	
	header .h-container img {
		padding: 48px 0 48px 40px;
	}
	#esa-secondary .main-content .promo-box p {
		padding: 0 0 28px 0;	
	}
	
	.main-copy h2, .main-copy p {
		padding: 0 40px 28px 40px;
	}
	.divider {
		margin: 40px auto;
	}
	.impact h2, .impact h3 {
		padding: 0 40px 14px 40px;
	}
	
	table.dev-sub {
		width: 90%;
	}
	#esa-secondary .main-content table.dev-sub td p {
		padding: 0 0 28px 0;
	}	

}

	/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table.dev-sub, table.dev-sub thead, table.dev-sub tbody, 
	table.dev-sub th, table.dev-sub td, table.dev-sub tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.dev-sub thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.dev-sub tr { border: 1px solid #ccc; }
	
	table.dev-sub td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	table.dev-sub td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	table.dev-sub td.l-heading {
		padding-left: 5px;
	}
	
	/*
	Label the data
	*/
	table.dev-sub td:nth-of-type(1):before { content: "Component"; }
	table.dev-sub td:nth-of-type(2):before { content: "Specification"; }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 567px) { 

	#mobile-hide { display: none; }
	
}
