/* -------------------------------------------
	FILE: 	CONTACT-US.CSS
	AUTHOR:	ZAINE KINGI
	VER:	1.0.0A
	DESC:	Main CSS stylesheet for the The 
			Warehouse Contact Us landing page.
	VALIDATED: 3-05-17
------------------------------------------- */

/* Mobile first */
td a { text-decoration: none; }

/* icon-nav styles */
ul.icon-nav { display: block; float: left; width: 100%; list-style-type: none; margin: auto; }
.icon-nav li { display: block; float: left; width: 46%; min-height: 150px; background: #f6f6f6; text-align: center; margin: 2%; padding: 5%; font-weight: bold; }
.icon-nav img { width: 70%; height: auto; margin-bottom: 25px; }

/* target delivery image */
.icon-nav a:nth-child(2) img { width: 100%; margin-top: -15%; margin-bottom: 10px; }
.icon-nav a li { display: block; text-decoration: none; font-size: 1.3rem; font-weight: bold; }

/* contact details panel */
.contact-panel { width: 100%; display: block; margin: 25px auto; }
.contact-panel table { width: 100%; margin: auto; }
.contact-panel table td { padding: 10px 5px; }

/* form elements */
.form-container { float: left; width: 100%; margin-top: 25px; }
form label, .g-recaptcha { margin-top: 1em; }
input, textarea, .select2-container, .g-recaptcha { width: 100%; }
.select2-container { margin-bottom: 1rem; }
.err { margin: 0 0 25px; }

/* other container */
.other-container { display: block; float: left; }

/* text style */
.title-text {  font-size: 22px; letter-spacing: 2px; }
.byline-text { font-size: 15px; }

/* Buttons */
.ghost-button, .ghost-button-1 {
	color: #393939;
	background: #fff;
	border: 1px solid #393939;
	font-size: 17px;
	padding: 7px 12px;
	font-weight: normal;
	margin: 6px 0;
	margin-right: 12px;
	display: inline-block;
	text-decoration: none;
	min-width: 120px;
}

.ghost-button:hover, .ghost-button:active {
 color:#fff;
 background:#393939;
}

/*  line either side of text */
.lines1 {
letter-spacing: 2px;
font-weight: bold;
 font-size: 25px;   
 text-align: center;
    border-bottom: 0px;
    line-height: 0;
    padding: 0;
}

.lines1 span {
    background: #fff;
    padding: 0 15px;
}

/* Media query: small devices > 568px */
@media screen and (min-width: 568px) {
	/* icon-nav styles */
	.icon-nav li { width: 24%; margin: 2% 1%; }
	.icon-nav li:first-of-type { margin-left: 0; } /* the first li */
	.icon-nav a:last-child li { margin-right: 0; } /* the last li */
	.icon-nav a li { font-size: 1rem; }
	
	/* target delivery image */
	.icon-nav a:nth-child(2) img { margin-top: -15%; }
	.contact-panel table { width: 50%; }
	.form-container, .other-container { width: 100%; padding: 0; }
}

/* Media query: tablets and small desktops > 768px */
@media screen and (min-width: 768px) {
	.form-container form { display: block; float: left; width: 60%; }

	/* contact panel */
	.contact-panel { width: 40%; float: right; margin: 0 auto 25px; }
	.contact-panel table { width: 90%; margin-right: 0; }
}

/* Media query: desktops > 980px */
@media screen and (min-width: 980px) {
	.icon-nav a li { font-size: 1.5rem; }
}