/* -------------GENERAL------------- */

html {
	background: #ffffff url("../images/graphic-design-san-jose.jpg") repeat-x scroll left top;
}

body {	
	font-family: "basic-sans", Arial, Helvetica, sans-serif;
	font-size: 105%;
	font-weight: 300;
	color: #000000;
	text-align: center;
	margin: 0;
	background: #ffffff;
}

h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
}

a img { 
	border: none;
}

img {
	vertical-align: top;
	max-width: 100%;
	height: auto;
}

* html img {
         width: 100%;
}

header, section, footer, aside, nav, main, article, figure {
	display: block;
	margin: 0;
	padding: 0;
}






/* ---------------LAYOUT--------------- */

#content {
	max-width: 1200px;
	margin: 70px auto;
}

#logo {
	float: left;
	max-width: 340px;
}

nav {
	float: right;
	background: url("../images/web-design-san-jose.png") no-repeat scroll left top;
	margin-top: 17px;
}

.wrapper {
	clear: both;
	margin-top: 60px;
}

article {
	text-align: left;
	float: left;
	width: 65%;
}

aside {
	text-align: left;
	float: right;
	width: 30%;
}

.quote-mark {
	float: left;
	width: 15%;
}
.quote-text {
	float: right;
	width: 85%;
	font-weight: 400;
}

.col1 {
	float: left;
	width: 33.33333%;
	text-align: left;
	font-weight: 400;
}
.col2 {
	float: left;
	width: 33.33333%;
	text-align: center;
	font-weight: 400;
}
.col3 {
	float: right;
	width: 33.33333%;
	text-align: right;
	font-weight: 400;
}
.col1-wrapper {
	margin-right: 20px;
}
.col2-wrapper {
	margin-right: 10px;
	margin-left: 10px;
}
.col3-wrapper {
	margin-left: 20px;
}

.heightfix {
	clear: both;
	height: 1px;
}

footer {
	clear: both;
	background-color: #fff;
	border-top: 2px solid #f04923;
	border-bottom: 2px solid #f04923;
	margin: 0;
	padding: 0;
}
#wrapper-footer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 20px;
	font-weight: 400;
}

/*
Horizontal dotted lines:
.dotted-gradient {
  background-image: linear-gradient(to right, #333 40%, rgba(255, 255, 255, 0) 20%);
  background-position: top;
  background-size: 3px 1px;
  background-repeat: repeat-x;
}
.dotted-spaced {
  background-image: linear-gradient(to right, #333 10%, rgba(255, 255, 255, 0) 0%);
  background-position: top;
  background-size: 10px 1px;
  background-repeat: repeat-x;
}

Vertical dotted lines
.left.dotted-gradient {
  background-image: linear-gradient(to bottom, #333 40%, rgba(255, 255, 255, 0) 20%);
  background-position: left;
  background-size: 1px 3px;
  background-repeat: repeat-y;
}
.left.dotted-spaced {
  background-image: linear-gradient(to bottom, #333 10%, rgba(255, 255, 255, 0) 0%);
  background-position: left;
  background-size: 1px 10px;
  background-repeat: repeat-y;
}
*/



/* ---------------BUTTON ROLLOVERS--------------- */

.overlay-wrapper  {
	position: relative;
	cursor: pointer;
}

.image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 370px;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	max-width: 370px;
	opacity: 0;
	transition: .5s ease;
	background-color: #000000;
}

.overlay-wrapper:hover .overlay {
	opacity: 0.8;
}

.text {
	color: white;
	font-family: "peregroy-jf";
	font-size: 400%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
}





/* ---------------MOBILE LAYOUT--------------- */

@media screen and (max-width: 1200px) {	
	/*General image height*/
	img {height:auto !important;}
}

/*Restyle header for mobile*/
@media screen and (max-width: 1260px){
	#logo {
		margin-left: 30px;
	}
}
@media screen and (max-width : 965px){
	#logo {
		float: none;
	}
}
@media screen and (max-width : 600px){
	#logo {
		margin-left: 0px;
		max-width: none;
	}
	nav {
		float: none;
		background: none;
		margin-top: 20px;
		margin-left: 15px;
		margin-right: 15px;
	}
}


/*Restyle content area for mobile*/
@media screen and (max-width: 1260px){
	.wrapper {
		margin-left: 30px;
		margin-right: 30px;
	}
}
@media screen and (max-width: 1080px){
	.quote-mark {
		width: 20%;
	}
	.quote-text {
		width: 80%;
	}
}
@media screen and (max-width: 880px){
	article {
		float: none;
		width: auto;
		clear: both;
	}
	aside {
		float: none;
		width: auto;
		clear: both;
		margin-top: 40px;
	}
	.wrapper {
		margin-top: 40px;
	}
	.quote-mark {
		width: 10%;
	}
	.quote-text {
		width: 90%;
	}
}
@media screen and (max-width : 600px){
	.col1, .col2, .col3 {
		float: none;
		width: auto;
		text-align: center;
		margin-right: auto;
		margin-left: auto;
	}
	.col1, .col2 {
		margin-bottom: 40px;
	}
	.col1-wrapper, .col2-wrapper, .col3-wrapper {
		margin-right: auto;
		margin-left: auto;
		text-align: center;
	}
	.image {
		display: inline-block;
	}
	.overlay {
		margin: auto;
	}
}
@media screen and (max-width: 570px){
	.quote-mark {
		width: 15%;
	}
	.quote-text {
		width: 85%;
	}
}
@media (hover: none) {
	.overlay {
		opacity: 0.7;
	}
}



/* -------------NAVIGATION MENU------------- */

ul#menu {
	display: inline-block;
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
ul#menu li {
	display: inline-block;
}

/*Style for menu links*/
ul#menu li a {
	display: inline-block;
	font-size: 110%;
	font-weight: 400;
	color: #d83d23;
	text-align: right;
	padding: 10px 15px 12px 15px;
	text-decoration: none;
	text-transform: lowercase;
}
ul#menu li.first a {
	padding-left: 100px;
}

/*Style for hover effects*/
ul#menu li a:hover {
	color: #227fa7;
	background: url(../images/san-jose-designer.png) no-repeat scroll 0px center;
}
ul#menu li.first a:hover {
	color: #227fa7;
	background: url(../images/san-jose-designer.png) no-repeat scroll 85px center;
}
ul#menu li a.over {
	color: #227fa7;
}

@media screen and (max-width : 600px){
	ul#menu {
		background-image:
			url(../images/website-design-san-jose.png),
			url(../images/website-design-san-jose.png);
		background-position:
			top,
			bottom;
		background-repeat: repeat-x;
	}
	ul#menu li a {
		text-align: center;
		padding: 10px 15px 12px 15px;
	}
	ul#menu li.first a {
		padding-left: 15px;
	}
	ul#menu li.first a:hover {
		background: url(../images/san-jose-designer.png) no-repeat scroll 0px center;
	}
}





/* -------------TEXT FORMATTING------------- */

h1 {
	font-size: 200%;
	font-weight: 600;
}
h2 {
	font-size: 130%;
	font-weight: 600;
	color: #227fa7;
	margin-top: 30px;
}
h3 {
	font-size: 130%;
	font-weight: 600;
	color: #227fa7;
	margin-top: 30px;
}
h4 {
	font-size: 130%;
	font-weight: 600;
}

p {
	line-height: 160%;
	margin-top: 12px;
}
p.big-space {
	margin-top: 30px;
}
p.med-space {
	margin-top: 20px;
}
p.sml-space {
	margin-top: 8px;
}
p.no-space {
	margin-top: 0px;
}

.sml-text {
	font-size: 90%;
}
.indent {
	padding-left: 35px;
}
.textright {
	text-align: right;
}

.bigbold {
	color: #cf463d;
	font-size: 120%;
	font-weight: 600;
}
.bolditalic {
	font-weight: 600;
	font-style: italic;
}
.bold, b, strong {
	font-weight: 600;
}

ul.textlist {
	margin-top: 0;
	line-height: 140%;
}
ul.textlist li {
	margin-top: 5px;
	padding-left: 5px;
	margin-left: -10px;
}

.services-top {
	text-align: center;
	margin-top: 15px;
}
.services {
	text-align: center;
	margin-top: 3px;
}

.sml-quote-mark {
	font-family: Georgia, Times, serif;
	font-size: 150%;
	color: #57b7df;
	vertical-align: sub;
}

.copyright {
	color: #000000;
}

footer h4 a {
	color: #d83d23 !important;
}





/* -------------CONTACT FORM------------- */

.contact_form {
	margin-top: 24px;
}

.feedback-input {
	font-family: 'Work Sans', Arial, Helvetica, sans-serif;
	font-size: 100%;
	color: #393939;
	font-style: italic;
	line-height: 140%;
	background-color: #ffffff;
	padding: 10px;
	margin-bottom: 10px;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	border: 2px solid #ffffff;
}

.feedback-input:focus{
	border: 2px solid #decab9;
	color: #393939;
	outline: none;
}

textarea {
	width: 100%;
	height: 150px;
	line-height: 140%;
	resize: vertical;
}

input[type="submit"],
input[type="button"] {
	width: 100%;
	border: #decab9 solid 2px;
	border-radius: 30px;
	cursor: pointer;
	background-color: #decab9;
	font-family: 'Work Sans', Arial, Helvetica, sans-serif;
	color: #ffffff;
	font-size: 150%;
	font-weight: 600;
	padding-top: 12px;
	padding-bottom: 12px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	-ms-transition: all 0.3s;
	transition: all 0.3s;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
	background-color: #cf463d;
	border: #cf463d solid 2px;
}





/* ----------LINKS---------- */

a:link, a:visited {
	color: #d83d23;
	text-decoration: none;
}
a:hover, a:active, a:focus {
	color: #227fa7;
}

.services a:link, .services a:visited,
.services-top a:link, .services-top a:visited {
	color: #000000;
}
.services a:hover, .services a:active, .services a:focus,
.services-top a:hover, .services-top a:active, .services-top a:focus {
	color: #227fa7;
}

footer a:link, footer a:visited {
	color: #000000;
}
footer a:hover, footer a:active, footer a:focus {
	color: #d83d23;
}
p.copyright a:link, p.copyright a:visited {
	color: #000000;
}
p.copyright a:hover, p.copyright a:active, p.copyright a:focus {
	color: #d83d23;
}

