@font-face{
	font-family: 'modernFont';
	src: 
		url('Constantia.ttf')
		format('truetype');
}

html, body {
	margin:0;
	padding:0;
	background: rgb(88,109,135);
background: linear-gradient(0deg, rgba(88,109,135,1) 0%, rgba(147,172,204,1) 45%, rgba(255,255,255,1) 77%);
font-family: 'modernFont', serif !important;
}

#container{
	width: 100%;
	height: 100%;
	position: relative;
}

.clear{
	clear: both;
}

.row{
	position: relative;
	width: 100%;
	margin: 0 !important;
	padding: 40px 100px;
}

/*--------- HEADER -----------*/
.header-wrapper{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 25%;
	z-index: 9999;
}

.header{
	width: 100%;
	height: 100%;
	position: relative;
	/*background-color: #FAF7F2;*/
}

.navigation{
	/*background-color: #586D87;*/
	color: #FAF7F2;
	text-align: center;
	font-size: 18px;
	padding: 5px 0;
}

.navigation .nav-wrapper{
	margin: 0 auto;
	width: 28%;
}

.navigation a{
	float: left;
	display: block;
	/*color: #FAF7F2;*/
	color: #586D87;
	/*font-family: 'Roboto', sans-serif;*/
	font-size: 24px;
	margin: 0 10px 0 10px;
}

.navigation a:hover, .navigation .active{
	font-weight: 700;
	/*color: #FAF7F2;*/
	color: #586D87;
	text-decoration: none;
}

.navigation .icon{
	display: none;
}

.logo{
	background-image: url("the-williams-group-logo.png");
	background-repeat: no-repeat;
	background-size: 100%;
	width: 200px;
	height: 200px;
	/*float: left;
	display: block;*/
	position: absolute;
	top: 50px;
	left: 42%;
	z-index: 999;
}

.tagline{
	margin: 0 auto 20px;
	z-index: 99;
}

/*---------- TOP PHOTO ---------*/
.top-photo{
	background: transparent url("puzzle.jpg") no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	width: 100%;
	height: 100%;
	min-height: 720px;
	display: table;
	position: relative;
}

.top-photo .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: .65;
}

/*---------- ABOUT SECTION ----------
/#about {
	background: url("texture.jpg") repeat top left;
}

#about .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #A7C2D3;
	opacity: 0.65;
}*/

.tagline h1{
	color: #FAF7F2;
	/*font-family: 'Roboto', sans-serif;*/
	font-size: 32px;
	font-weight: 900;
}

#about .tagline h1{
	color: #55707E;
}

.about-text{
	/*font-family: 'Lato', sans-serif;*/
	z-index: 99;
	color: #55707E;
}

.about-text h2{
	font-size: 25px;
	margin: 0 auto 20px;
	width: 52%;
}

/*----------- SErVICES SECTION --------*/
#services{
	/*background-color: #586D87;*/
	padding: 40px;
}

#services ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.services-text{
	width: 100%;
}

.service-item{
	width: 20%;
	float: left;
	color: #FAF7F2;
	text-align: center;
	height: 167px;
}

.service-item .fas{
	font-size: 50px;
}

.service-item h3{
	position: relative;
	margin: 10px 0 0;
}

.service-item h3::before{
	content: '';
	height: 2px;
	width: 57px;
	position: absolute;
	background: #FAF7F2;
	top: -6px;
	left: 39%;
}

/*---------- TESTIMONIALS ----------*/
/*#testimonials {
	background: url("texture-2.jpg") repeat top left;
}

#testimonials .overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #FAF7F2;
	opacity: 0.65;
}*/

#testimonials .tagline h1, #contact .tagline h1{
	color: #586D87;
}

#testimonials ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#testimonials ul li{
	float: left;
	display: block;
	width: 50%;
	color: #586D87;
	/*font-family: 'Lato', sans-serif;*/
}

#testimonials ul li:first-child{
	padding:0 35px 0 0;
}

.test-item{
	position: relative;
}

.test-item blockquote:after {
    /*background: none repeat scroll 0 0 rgba(187, 196, 201, 0.8);
    border-radius: 50% 50% 50% 50%;*/
    color: rgba(146, 161, 166, 0.5);
    content: "\201C";
    font-family: 'icons';
    font-size: 70px;
    height: 130px;
    left: -3%;
    line-height: 130px;
    margin-left: -65px;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 1px rgba(146, 161, 166, 0.1);
    top: -32px;
    width: 130px;
}

.test-item h4{
	margin: 0 0 3px;
}

/*---------- FORM -----------*/
#contact{
	/*background-color: #E7EAE9;*/
	color: #586D87;
}

#contact form{
	width: 100%;
}

#contact .tagline{
	width: 15%;
}

#contact .tagline h1{
	color: #FBF7F0;
}

.form-wrap{
	width: 40%;
	margin: 0 auto;
}

.form-input{
    display: block;
    /*width: 47%;*/
    width: 100%;
    padding: 11px 5px;
    border: 1px solid #586D87;
    border-radius: 9px;
    background-color: #FBF7F0;
    color: #586D87;
    /*font-family: 'Lato', sans-serif;*/
    font-size: 14px;
    /*margin: 0 10px 10px 0;
    float: left;*/
}

.form-textarea{
	height: 100px;
	float: none;
	width: 100%;
	margin: 0 0 10px;
}

.form-check-container{
    padding: 0 0 0 30px;
    margin: 0 0 15px 0;
    /*font-family: "Lato", sans-serif;*/
    font-size: 14px;
}

.form-text{
    font-weight: 900;
    font-size: 17px;
    margin: 0 0 5px;
    color: #FBF7F0;
}

.check-wrap label{
	margin: 0 0 5px 5px;
	color: #FBF7F0;
}

#quote-submit{
    border-radius: 9px;
    padding: 5px 10px;
    /*font-family: 'Lato', sans-serif;*/
    font-size: 18px;
    background-color: #586D87;
    color: #FBF7F0;
}


#quote-submit:hover{
	font-weight: 900;
}
#message-warning, #message-success {
	display: none;
	/*background: #0d0d0d;*/
	margin: 0 auto;
	width: 50%;
	text-align: center;
}
#message-warning {
	color: #fa0003;
}
#message-success {
	color: #FBF7F0;
}
#message-warning i, #message-success i {
	margin-right: 10px;
}

/* form loader */
#submit-loader {
	display: none;
	position: relative;
	left: 0;
	top: 1.8rem;
	width: 100%;
	text-align: center;
}
#submit-loader .text-loader {
	display: none;
	font-family: "poppins-bold", sans-serif;
	color: #FBF7F0;
	letter-spacing: .3rem;
	text-transform: uppercase;
}
.oldie #submit-loader .s-loader {
	display: none;
}
.oldie #submit-loader .text-loader {
	display: block;
}

.input-wrap{
	position: relative;
	width: 47%;
    height: 51px;
    float: left;
    margin: 0 10px 23px 0;
}

#contact form label.error{
    position: absolute;
    top: -21px;
    left: 2px;
    font-size: 13px;
    color: #ff0000;
}

/*---------- FOOTER -----------*/
#footer{
	/*background-color: #586D87;*/
	color: #FBF7F0;
	/*font-family: 'Roboto', sans-serif;*/
	font-size: 15px;
}

.f-left{
	width: 75%;
	font-size: 16px;
}

.f-left p{
	font-weight: 900;
	font-size: 21px;
	margin: 0 0 15px;
}

.f-phone, .f-fax{
	font-size: 21px;
	color: #E7EAE9;
}

.f-right i{
	font-size: 21px;
	padding: 3px 0;
}

.dev-info-wrap{
	width: 100%;
	margin: 30px 0 0;
    font-size: 12px;
}

.footer-info-1{
	float: left;
}

.footer-info-2{
	float: right;
	margin: 0 48px 0 0;
}

.footer-info-2 a{
	color: #E7EAE9;
}

.footer-info-2 a:hover{
	color: #E7EAE9;
	text-decoration: none;
}

#current-year{
	display: inline;
}

.break{
		display: none
	}


/*--------- MEDIA QUERIES ----------*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	
	.navigation a{
		display: none;
	}

	.navigation a.icon{
		float: right;
		display: block;
	}

	.navigation.responsive {
		position: relative;
		z-index: 9999;
		background-color: rgba(255, 255, 255, 0.8);
	}

	.navigation.responsive a.icon{
		float: right;
		margin: 0 10px 0 10px;
	}

	.navigation.responsive a{
		float: none;
		display: block;
		text-align: center;
		margin: 0;
	}

	.navigation .nav-wrapper{
		width: 100%;
	}

	.navigation .nav-wrapper a:nth-child(3){
		border-top: 1px solid #FAF7F2;
	}

	.logo{
		left: 26%;
	}

	.row{
		padding: 20px 30px;
	}

	.tagline h1{
		font-size: 28px;
		line-height: 1;
		text-align: center;
	}

	.about-text h2{
		width: 100%;
		text-align: center;
	}

	.service-item{
		width: 49%;
	}

	.service-item h3{
		font-size: 23px;
	}

	.service-item h3::before{
		left: 31%;
	}

	#testimonials ul li{
	width: 100%;
	}

	#testimonials ul li:first-child{
	padding: 0 0 20px;
	margin: 0 0 20px;
	border-bottom: 2px solid #FBF7F0;
	}

	.test-item blockquote:after{
		display: none;
	}

	#contact .tagline{
		width: 100%;
	}

	.form-wrap{
		width: 95%;
	}

	.form-check-container{
		padding: 0 0 0 10px;
	}

	.form-text{
		font-size: 16px;
	}

	.form-input{
		width: 100%;
	}

	.dev-info-wrap{
		text-align: center;
	}

	.f-left{
		width: 100%;
		text-align: center;
		margin: 0 0 30px;
	}

	.f-left p{
		margin: 0 0 15px;
	}

	.footer-info-1{
		width: 100%;
	}

	.footer-info-2{
		width: 100%;
		margin: 20px 0 0;
	}

	.break{
		display: block;
	}

} 

/* Small devices (portrait tablets and large phones, 600px and up) 4/5/ - new number was max-width: 1100px*/
@media only screen and (min-width: 600px) {...} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1366px) {
	.navigation a{
		display: none;
	}

	.navigation a.icon{
		float: right;
		display: block;
	}

	.navigation.responsive {
		position: relative;
		z-index: 9999;
		background-color: rgba(255, 255, 255, 0.8);
	}

	.navigation.responsive a.icon{
		float: right;
		margin: 0 10px 0 10px;
	}

	.navigation.responsive a{
		float: none;
		display: block;
		text-align: center;
		margin: 0;
	}

	.navigation .nav-wrapper{
		width: 100%;
	}

	.navigation .nav-wrapper a:nth-child(3){
		border-top: 1px solid #FAF7F2;
	}

	.logo{
		left: 38%;
	}

	.row{
		padding: 20px 30px;
	}

	.tagline h1{
		font-size: 28px;
		line-height: 1;
		text-align: center;
	}

	.about-text h2{
		width: 100%;
		text-align: center;
	}

	.service-item{
		width: 33%;
	}

	.service-item h3{
		font-size: 23px;
	}

	.service-item h3::before{
		left: 41%;
		top: -4px;
	}

	.service-item:last-child{
		width: 100%;

	}

	.service-item:last-child h3::before{
		left: 47%;
	}

	#contact .tagline{
		width: 21%;
	}

	.form-wrap{
		width: 63%;
	}

	.f-left{
		width: 64%;
	}

	.footer-info-2{
		margin: 0;
	}

} 

/* iPad Pro only */
@media only screen and (min-width: 1024px) and (max-width: 1366px) {
	.logo{
		left: 41%;
	}

	.f-left{
		width: 73%;
	}
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}