/* Master layout */

/************************************************************
Global styles */

/* Partial CSS Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-tap-highlight-color:  rgba(0, 0, 0, 0);
}
html, body {
	height: 100%;
	width: 100%;
	-webkit-text-size-adjust: 100%;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, select, input, option {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary {
	display: block;
}
audio, canvas, video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
	height: 0;
}
pre {
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word
}

button::-moz-focus-inner {
  border: 0;
}


:focus {
	outline:none;
}

table {
	border: 0 none;
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
td {
	vertical-align: top;
}

/* End Reset */

body {
	font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
	font-size: 18px;
	color: #000;
	line-height: normal;
	
}
/* Links */
a, input[type=submit]{
	color:inherit;
	outline:none;
	color:inherit;
	outline:none;
	transition: all 0.3s ease 0s;
}

a:link,
a:visited,
a:hover,
a:active {
	text-decoration:none;
	outline: none;
}
a img {
	border:none;
	transition: all 0.5s ease 0s;
}
img {
	max-width:100%;
}
a[href^="tel:"] {
	color:inherit;
	cursor:pointer;
}

/* NEW UPDATE TO CSS FOR GLOBAL STYLE RESET */

.main-content a:not([class]) {
	color: #000;
	font-weight: bold;
}

.main-content a:not([class]):hover {
	text-decoration: underline;
}

.content ul:not([class]),
.content ul[class="left"],
.content ul[class="center"], 
.content ul[class="right"] {
	display: block;
	padding: 0 0 20px 0;
	margin-top: 20px;
}

.content ul:not([class]) > li,
.content ul[class="left"] > li,
.content ul[class="center"] > li, 
.content ul[class="right"] > li {
	display: block;
  padding: 5px 0px 5px 20px;
  position: relative;
}

.content ul:not([class]) > li:before,
.content ul[class="left"] > li:before,
.content ul[class="center"] > li:before, 
.content ul[class="right"] > li:before {
	content: "";
	display: block;
	height:5px;
	width: 5px;
	border-radius: 50%;
	background-color: #000;
	position: absolute;
	top:13px;
	left: 0;
}

body:not(.desktop) * {
	background-attachment: scroll !important;
}

/* NEW UPDATE TO CSS FOR GLOBAL STYLE RESET */

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
/* Headings */
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	line-height: normal;
}
h1,
h2,
.large-heading {
	font-size: 30px;
	line-height: 1.2;
	color: #d45d00;
	margin: 25px 0;
}
h1:first-child,
h2:first-child,
.large-heading:first-child {
	margin-top: 0;
}
h3 {
	font-size: 24px;
	margin: 20px 0;
}
h3:first-child {
	margin-top: 0;
}
h4,.small-heading {
	font-family: 'RBNo31-Book', sans-serif;
	font-size: 22px;
	font-style: italic;
}
h5 {
	font-size: 21px;
	text-transform: uppercase;
}

/* Block-level */

address {
	font-style:inherit;
}
p:not(:first-child){
	margin-top: 20px;
}
ul li{
	list-style-type: none;
}
strong{
	font-weight: bold;
}
sup{
	
}
/*************************
   Generic Site Styles
*************************/
.table {
  display: table;
  width: 100%;
  height: 100%;
  table-layout: fixed;
  /*float: none !important;*/
}
.table.page, .container {
  max-width: 1800px;
  margin: 0 auto;
}
.container{
	padding: 0 2%;
}
main .table.page,
.table.auto-height {
  height: auto;
}

.table.auto-width {
  width: auto;
}

.table.auto-all {
  height: auto;
  width: auto;
}

.row {
  display: table-row;
}
.cell {
  display: table-cell;
  vertical-align: top;
  height: 100%;
  float: none !important;
}
.padding {
  padding: 0px 20px;
}
.padding-left {
  padding-left: 20px;
}
.padding-right {
  padding-right: 20px;
}
.middle {
  vertical-align: middle;
}
.bottom {
  vertical-align: bottom;
}
.table-header-group {
  display: table-header-group;
}
.table-footer-group {
  display: table-footer-group;
}

/* Text alignment */
.align-left { text-align:left !important; }
.align-center { text-align:center !important; }
.align-right { text-align:right !important; }

/** Default Placeholder styles ***/

::-webkit-input-placeholder {
/* WebKit browsers */
  	color:rgba(255, 255, 255, 0.4);
}
:-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
	color:rgba(255, 255, 255, 0.4);
  
}
::-moz-placeholder {
/* Mozilla Firefox 19+ */
	color:rgba(255, 255, 255, 0.4);
}
:-ms-input-placeholder {
/* Internet Explorer 10+ */
	color:rgba(255, 255, 255, 0.4);
}

/* Container class to make iFrames responsive */
.frame-contain {
	position: relative;
	height:0;
	max-width:100%;
	overflow: hidden;
	padding-bottom: 56.25%; /* 16:9 */
							/* 75% = 4:3 */
}

.frame-contain iframe {
	position: absolute;
	top:0;
	left:0;
	height:100% !important;
	width:100% !important;
}

/* Fix extra button padding in Firefox */
input[type="submit"]::-moz-focus-inner {
	border:none;
	padding:0;
	line-height:1;
}
/************************************************************
Miscellaneous */
.clearfix:after{
	content: '.';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.pull-left{
	float: left;
}
.pull-right{
	float: right;
}
.relative {
  position: relative;
}
.full-size {
  height: 100%;
  width: 100%;
}

.on-top {
  position: relative;
  z-index: 1;
}

.hide {
  display: none !important;
}
/* .inner-text{
	max-width: 670px;
	margin: 0 auto;
} */
.main-nav,
.sub-menu {
	transition: all 0.3s ease 0s;
}

.search-box{
	transition: all 0.5s ease 0s;
}
.sub-menu{
	opacity: 0;
	visibility: hidden;
}
.nav-menu > li:hover .sub-menu{
	opacity: 1;
	visibility: visible;
}
.btn, .button, a.button, input[type="submit"].button {	
	-moz-appearance:none;
	-webkit-appearance:none;
	appearance:none;
	color: #FFF;
	font-size: 16px;
	display: inline-block;
	min-width: 184px;
	height: 48px;
	line-height: 48px;
	text-align: center;
	background: rgba(66, 66, 66, 1);
	text-transform: uppercase;
	font-family: inherit;
	cursor: pointer;
}

.img-box {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
input[type=submit]{
	color: #ffffff;
	cursor: pointer;
}
.highslide-container .gal-title,.highslide-container .altCaption{
    font-family: 'Raleway-SemiBold';
}
.full-gallery{
	display: none;
}

.flex {
	display: flex;
}
.flex.wrap {
	flex-wrap: wrap;
}
.flex.col {
	flex-direction: column;
}

/* -------------- LANDING PAGE STYLES --------------- */

@font-face{
    font-family: 'RBNo31-Book';
    src: url('../fonts/RBNo31-Book.eot');
    src: local('☺'), url('../fonts/RBNo31-Book.woff') format('woff'),
                     url('../fonts/RBNo31-Book.ttf') format('truetype'),
                     url('../fonts/RBNo31-Book.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face{
    font-family: 'RBNo31-BlackItalic';
    src: url('../fonts/RBNo31-BlackItalic.eot');
    src: local('☺'), url('../fonts/RBNo31-BlackItalic.woff') format('woff'),
                     url('../fonts/RBNo31-BlackItalic.ttf') format('truetype'),
                     url('../fonts/RBNo31-BlackItalic.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-color: #fff;
}

body {
	position: relative;
	
/* 	font-family: 'RBNo31-Book', sans-serif; */
	-moz-osx-font-smoothing:grayscale;
	
/*
	display: block;
	display: -webkit-flex;
	display: flex;
*/
}
body::before,
body::after {
	content: "";
	background-color: #b9b8b8;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: -1;
}
body::before {
	height: 100%;
	width: 25%;
	left: 0;
}
body::after {
	left: 25%;
	width: 285px;
	clip-path: polygon(0% 0%,0% 100%,100% 0%);
}
body.inner::before,
body.inner::after {
	position: absolute;
	height: 250px;
}
body.inner::before {
/* 	width: 34%; */
	width: calc(450px + ((100% - 1800px) / 2));
}
body.inner::after {
/* 	left: 34%; */
	left: calc(450px + ((100% - 1800px) / 2));
	width: 100px;
}

h1,h2,h3,h4,h5,h6,.large-heading {
	font-family: 'RBNo31-BlackItalic', Impact, sans-serif;
	text-transform: uppercase;
}

.site-section {
	position: relative;
	z-index: 0;
	padding: 70px 0 50px;
	background-color: #fff;
	margin: 0 auto;
	overflow: hidden;
}
.site-section:not(#homepage)::after {
	content: "";
	height: 265px;
	width: 100%;
	background-color: #b9b8b8;
	position: absolute;
	bottom: 25px;
	left: 0;
	z-index: -1;
}

body > header {
	padding: 95px 0 15px;
}
body > header > .flex {
	justify-content: space-between;
}

.main-nav {
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	justify-content: space-between;
}
.main-nav li {
	display: inline-block;
}
.main-nav li a {
	padding: 15px;
}
li a:hover,
li a:active {
	color: #d45d00;
}
.nav-box {
	display: flex;
	align-items: center;
}

.logo {
	display: inline-block;
}
#homepage {
	position: relative;
	background-color: transparent;
	z-index: initial;
}
#homepage::after {
	content: "";
	display: block;
	width: calc(96%);
	height: 100%;
	max-width: 1800px;
	background-image: url(/images/landing/IMG_6804-Pipe_DAPL-Edit.jpg);
	background-position: center;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: -2;
}
.hero-text {
	position: relative;
/* 	margin-top: 45px; */
	width: 60%;
	padding-left: 300px;
	padding-right: 15px;
	padding-bottom: 7px;
	color: #000;
	background-color: #d45d00;
	font-size: 52px;
	text-align: right;
}
.hero-text::after {
	content: "";
	background-color: #d45d00;
	clip-path: polygon(0% 0%,0% 100%,100% 0%);
	width: 55px;
	height: 100%;
	position: absolute;
	top: 0;
	left: 100%;
}
.hero-img {
	margin: 60px 0;
}

.col {
	flex-basis: 100%;
}
.col + .col {
	flex-basis: 680px;
	margin-left: 150px;
}
.col .container {
	max-width: 980px;
	padding: 0;
	margin: 0;
}

.about-content {
	justify-content: space-between;
}
.about-content + .col {
	margin-top: 235px;
}
.contact-content + .col {
	margin-top: 200px;
}

.staff-content {
	align-items: flex-end;
	margin-top: auto;
}
.staff-content img {
	max-width: 250px;
	flex-basis: 250px;
	margin-right: 35px;
}
.staff-content h3 {
	margin-bottom: 0;
}

.services-content {
	justify-content: space-between;
}
.services-content > div + div {
	margin-left: 5%;
}
.callouts {
	margin: 50px 0 55px;
	justify-content: space-between;
}
.callout {
/* 	display: inline-block; */
	justify-content: space-around;
	max-width: 410px;
	flex-grow: 0;
/* 	flex-basis: 410px; */
	height: 200px;
	background-image: url(/images/landing/PDW_Services_Button.jpg);
	box-shadow: 0 5px 12px 0 rgba(1,1,1,0.35);
	color: #fff;
	text-align: center;
}
.callout .large-heading {
	color: #fff;
}
.callout .large-heading span {
	display: block;
	color: #d45d00;
}
.callout > span {
	position: relative;
	font-size: 24px;
	text-transform: uppercase;
	transition: all 0.25s ease 0s;
}
.callout > span::after {
	content: "\000BB";
	color: #d45d00;
	margin-left: 10px;
}
.callout:hover > span,
.callout:active > span{
	color: #d45d00;	
}
.callout + .callout {
	margin-left: 10%;
}

.gallery-content {
	
}
.gallery-content a {
	position: relative;
	overflow: hidden;
	display: inline-block;
}
.gallery-content a:nth-child(n+3) {
	margin-top: 15%;
}
.gallery-content a img {
	
	opacity: 0;
	visibility: hidden;
/*
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
*/
}
/* .gallery-content .col .col */
.gallery-content .col:first-child {
	flex-direction: row;
	justify-content: space-between;
}
.gallery-content .col:first-child a {
	flex-basis: 41%;
	height: 220px;
}
.gallery-content .col + .col {
	flex-basis: 940px;
}
.gallery-content .col + .col a {
	max-height: 650px;
}

#contact-page .col + .col {
	flex-basis: 850px;
	margin-left: 100px;
}

#contact .col {
/* 	width: 48%; */
	width: 100%;
	max-width: 570px;
	padding: 12px;
	
	color: #535353;
	background-color: #2f2f2f;
}
#contact .col + .col {
	margin-left: 2.5%;
}
#contact .col:first-child {
	position: relative;
	padding-bottom: 35px;
}

#contact h3 {
	font-size: 16px;
	display: inline-block;
	vertical-align: top;
}
#contact .social-links {
	display: inline-block;
	vertical-align: top;
	margin-left: 10px;
/*
	position: absolute;
	top: 12px;
	right: 12px;
*/
}

#contact .frame-contain {
	height: 100%;
}

#contact-form {
	margin-top: 10px;
	min-height: 390px;
}

#contact-form p {
	margin: 7px 0;
}

#contact-form input,
#contact-form textarea {
	display: block;
	width: 100%;
	padding: 8px 6px;
	border: none;
	background-color: #a5a6a5;
	font-size: 12px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	-moz-resize: none;
	resize: none;
}
#contact-form input.error {
	background-color: #FCC;
}

#contact-form ::-webkit-input-placeholder {
/* WebKit browsers */
	opacity: 1;
	color: #2f2f2f;
	font-family: 'RBNo31-Book', sans-serif;
}

#contact-form  :-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
	opacity: 1;
	color: #2f2f2f;
	font-family: 'RBNo31-Book', sans-serif;
}
#contact-form  ::-moz-placeholder {
/* Mozilla Firefox 19+ */
	opacity: 1;
	color: #2f2f2f;
	font-family: 'RBNo31-Book', sans-serif;
}
#contact-form  :-ms-input-placeholder {
/* Internet Explorer 10+ */
	opacity: 1;
	color: #2f2f2f;
	font-family: 'RBNo31-Book', sans-serif;
}

.note.small {
	font-size: 12px;
}


#contact-form .button {
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0;
	width: 100%;
	height: 35px;
	padding: 5px 10px 10px;
	border-top: 1px solid #458caa;
	color: #1a1b1d;
	background-color: #0076a8;
	text-align: right;
	font-size: 14px;
	line-height: 1;
	padding-right: 12px;
	border-radius: 0;
	
	z-index: 1;
}
#contact-form .button:hover {
/* 	font-weight: bold; */
	background-color: #a5a6a5;
}

.social-links > li a {
	display: inline-block;
	height: 23px;
	width: 23px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
.social-links .facebook {
	background-image: url(/images/landing/social-icons/facebook.png);
}
.social-links .linkedin {
	background-image: url(/images/landing/social-icons/linkedin.png);
}
.social-links .instagram {
	background-image: url(/images/landing/social-icons/instagram.png);
}
.social-links .youtube {
	background-image: url(/images/landing/social-icons/youtube.png);
}
.social-links .twitter {
	background-image: url(/images/landing/social-icons/twitter.png);
}
.social-links > li + li {
	margin-left: 8px;
}

.social-links > li {
	display: inline-block;
}

.social-links > li a:hover,
.social-links > li a:active {
	background-color: #fff;
}

.thank-you {
	padding: 30px 20px;
	background-color: #fff;
	text-align: center;
}
.thank-you strong {
	display: block;
	font-family: 'RBNo31-BlackItalic', Impact, sans-serif;
	line-height: 1;
	font-size: 24px;
	color: #0076a8;
	margin-bottom: 10px;
}

.modal-content {
	background-color: #fff;
	padding: 25px;
}

body > footer {
	padding: 35px 0;
	font-size: 12px;
	text-align: right;
}
body > footer ul {
	margin-left: 25px;
}
body > footer ul,
body > footer li {
	display: inline-block;
}
body > footer li + li::before {
	content :"/";
	margin: 0 10px;
}

@media screen and (max-width: 1600px) {
	body.inner::before {

		width: 400px;
	}
	body.inner::after {
		left: 400px;
	}
	.hero-text {
		width: 80%;
		padding-left: 13%;
		font-size: 3vw;
	}
	body > header {
		padding-top: 4%;
	}
	
	.col + .col {
		margin-left: 8%;
	}
	.gallery-content .col:first-child a {
		flex-basis: 100%;
	}
	.gallery-content .col:first-child a + a,
	.gallery-content a:nth-child(n+3) {
		margin-top: 7%;
	}
}
@media screen and (max-width: 1000px) {
	
	.logo-box {
		max-width: 250px;
	}
	body.inner::before {
		width: 280px;
	}
	body.inner::after {
		left: 280px;
	}
	
	.hero-img {
		margin: 5% 0 0;
	}
	
	.site-section {
		padding: 6% 0;
	}
	
	.col,
	.content.flex {
		width: 100% !important;
		flex-basis: 100% !important;
		flex-wrap: wrap !important;
		margin-left: 0 !important;
	}
	.col + .col:not(.callout) {
		margin-top: 35px;
		text-align: center;
	}
	
	body > footer {
		background-color: #fff;
	}
	#contact .col {
		margin: 0 auto !important;
	}
}

@media screen and (max-width: 770px) {
	
	body > header {
		padding-top: 25px;
	}
	body > header > .flex {
		justify-content: center;
	}
	
	body.inner::before {
		width: 100%;
	}
	body.inner::before,
	body.inner::after {
		height: 100px;
	}
	
	body > header > .flex {
		flex-wrap: wrap;
	}
	.nav-box {
		margin-top: 40px;
		width: 100%;
		flex-basis: 100%;
		justify-content: center;
	}
	
	.services-content {
		flex-wrap: wrap;
	}
	.services-content > div {
		width: 100%;
	}
	.services-content > div + div {
		margin-top: 35px;
		margin-left: 0;
	}
	
	.callouts {
		flex-wrap: wrap;
		justify-content: center;
	}
	.callout {
		width: 100%;
		flex-basis: 100%;
	}
	.callout + .callout {
		margin-top: 30px;
	}
}

@media screen and (max-width: 670px) {
	.hero-text {
		width: 100%;
		margin-bottom: 0;
		font-size: 24px;
		padding: 15px 2% !important;
		text-align: center;
	}
	.hero-text::after {
		content: none !important;
	}
	.staff-content {
		margin-top: 30px;
		flex-wrap: wrap;
	}
	.staff-content img {
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 30px;
	}
	.staff-content > div {
		width: 100%;
		flex-basis: 100%;
	}
	#contact .col {
		max-width: 100% !important;
	}
}

@media screen and (max-width: 600px) {
	
	.gallery-content .col:first-child a {
		flex-basis: 100% !important;
	}
	.gallery-content .col:first-child a + a {
		margin-top: 7% !important;
	}
	
	body > footer {
		text-align: center;
	}
	body > footer ul {
		display: block;
		margin: 10px auto 0;
	}
	
}

@media screen and (max-width: 480px) {
	.main-nav {
		font-size: 14px;
	}
	.main-nav {
		padding: 5px;
	}
}
/* --------------- END LANDING PAGE ---------------- */
