/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #58585a;
	font-family: 'Arimo', sans-serif;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

html, body {
    overflow-x: hidden;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #58585a;
    text-shadow: none;
	color: #fff;
}

::selection {
    background: #58585a;
    text-shadow: none;
	color: #fff;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


body{
	min-width: 1080px;
}

h1, h2, h3, h4, h5, h6{
	font-family: 'Rokkitt', serif;
	color: #333;
}

a, a:hover{
	transition: all 200ms ease 0s;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#entrance{
	width: 100%;
	height: 800px;
	background-image:url(../img/smaller_phone.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
    min-width: 1080px;
    position: relative;
	min-width: 1080px;
}

.contain{
	width: 960px;
	position: relative;
	margin: 0 auto;
}

#entrance h2{
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 70px;
    font-weight: 100;
    line-height: 100px;
    margin: 0;
    padding: 20px 35px 20px 30px;
    position: absolute;
    text-align: center;
    top: 180px;
}

#entrance #call {
    right: 0;
    text-align: right;
    top: 400px;
	font-size: 100px;
}

#about h2, #services h2, #team h2 {
    font-size: 50px;
    line-height: 49px;
    margin-bottom: 10px;
    text-align: center;
}

#services, #contact{
	background: url(http://api.thumbr.it/whitenoise-361x370.png?background=e5e6e6ff&noise=949494&density=18&opacity=17);
	background-repeat: repeat;
	padding-bottom: 3px;
}

#services h2{
	margin: 0px;
	padding-top: 30px;
}

#services h4 {
    font-size: 30px;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: center;
}

#services p{
	width: 650px;
	margin:0;
}

#infoLeft {
    float: right;
    width: 650px;
}

#infoRight{
    float: left;
    height: 500px;
    width: 300px;
}

#about p {
    font-size: 18px;
    line-height: 28px;
    margin: 0 auto 30px;
    text-align: center;
    width: 650px;
}

#infoLeft ul{
	margin: 0;
}

#about {
    min-width: 1080px;
    width: 100%;
}

#services #serviceTitle {
    margin: 30px 0 0;
    text-align: left;
}

#quote {
    background-attachment: fixed;
    background-image: url("../img/door.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
    min-width: 1080px;
    padding-bottom: 30px;
    padding-top: 70px;
    position: relative;
    width: 100%;
}

#quote .contain{
	color: #fff;
}

#quote .contain h3{
    color: #fff;
    font-size: 65px;
    line-height: 75px;
    margin: 0;
}

#quote .contain p{
    font-size: 33px;
    margin-top: 15px;
}

.dots{
    border-color: #ffffff;
    border-image: none;
    border-style: dashed dashed none;
    border-width: 2px 2px medium;
    clear: both;
    color: #ffffff;
    height: 1px;
    margin: 45px 0 15px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.dots.black{
	border-color: #58585a;
	color: #58585a;
}

.dots.black.top{
    margin: 8px;
}

#mainNav{
	position: fixed;
	width: 100%;
	top: 0;
	background-color: #fff;
	z-index: 100;
	height: 110px;
	border-bottom: 1px solid #e5e6e6;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

#mainNav nav{
	width: 960px;
	margin: 0 auto;
}

#mainNav ul, #mainNav li, #mainNav h1 {
    float: left;
    margin: 0;
    padding: 0;
}

#mainNav h1 {
    margin-bottom: 2px;
    margin-top: 12px;
}
#mainNav ul {
    float: right;
    font-size: 22px;
    margin-top: 45px;
	font-family: 'Rokkitt',serif;
}

#mainNav li a{
    color: #58585a;
    display: block;
    float: left;
    font-weight: 100;
    padding-left: 90px;
    text-decoration: none;
    text-transform: uppercase;
}

#mainNav li a:hover{
	color: #e5e6e6;
}

#chrisLeft {
    float: left;
    margin-left: 30px;
    text-align: right;
    width: 400px;
}

#chrisRight{
    float: right;
    margin-right: 26px;
    width: 400px;
}

.imageCenter {
    margin: 0 auto;
    text-align: center;
    width: 960px;
}

#chrisRight h4, #chrisLeft h4 {
    font-size: 25px;
    margin: 10px 0 0;
}

.p1 {
    margin-top: 0;
}

#team a, .contactContain a{
	color: #333;
}
#team a:hover, .contactContain a:hover{
	color: #e5e6e6;	
}

#team {
    margin-bottom: 30px;
}

#contact{
	padding-bottom: 50px;
}

#contact h2 {
    font-size: 50px;
    line-height: 46px;
    margin-bottom: 0;
    margin-top: 25px;
}

#contact a{
	color: #58585a;
}

.contactContain p{
    margin-bottom: 20px;
    margin-top: 5px;
}

#mapContain p {
    margin-bottom: 10px;
    margin-top: 5px;
}

#containSet {
    margin: 0 auto;
    position: relative;
    width: 960px;
    z-index: 50;
	padding-top: 50px;
}

.contactContain{
    background-color: rgba(255, 255, 255, 0.7);
    border-color: #e5e6e6;
    border-style: solid;
    border-width: 1px;
    padding-bottom: 30px;
    padding-left: 25px;
    padding-right: 25px;
    position: relative;
    width: 435px;
    z-index: 50;
	float: left;
	/*height: 592px;*/
}

.contactContain input{
    border: 0 none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    display: block;
    height: 30px;
    margin-bottom: 20px;
    padding-left: 10px;
    width: 360px;
	font-size: 13px;
}

.contactContain label {
    display: block;
    font-family: 'Rokkitt',serif;
    font-size: 20px;
    font-style: italic;
}

.contactContain textarea {
	resize: none;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
	font-size: 13px;
	border: 0 none;
	height: 100px;
	width: 350px;
	display: block;
	padding-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
}

.contactContain button {
    border: 1px solid #ccc;
    height: 40px;
    text-transform: uppercase;
    width: 150px;
	font-family: 'Rokkitt',serif;
	font-size: 24px;
	margin-top: 15px;
	transition: all 200ms ease 0s;
	margin-right: 31px;
	float: right;
}

.contactContain button:hover {
	background-color: #58585a;
	color: #fff;
	transition: all 200ms ease 0s;
}

#mapContain{
    background-color: rgba(255, 255, 255, 0.7);
    border-color: #e5e6e6;
    border-style: solid;
    border-width: 1px;
    float: right;
    padding: 25px 25px 12px;
    width: 400px;
    z-index: 50;
	height: 585px;
}

#mapContain h3 {
    font-size: 30px;
    margin-bottom: 10px;
    margin-top: 10px;
}

footer{
	padding-top: 10px;
	padding-bottom: 15px;
}

footer p{
	text-align: center;
	font-size: 10px;
	margin: 0;
}

#designNinja{
	margin-top:10px;
}

#designNinja a{
	color: #ffb400;
}

#designNinja a:hover{
	color: #333;
}

#jobBoard {
    border: 0 none;
    min-height: 354px;
    width: 447px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	#quote {
    background-attachment: scroll;
}

#about p{
	font-size: 30px;
	line-height: 35px;
	width: 900px;
}

#infoLeft li, #services p{
	line-height: 35px;
	font-size: 30px;
}

#services #serviceTitle, #services h2, #team h4{
	font-size: 40px;
}

#team p{
	font-size: 30px;
	line-height: 35px;
}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		#quote {
    background-attachment: scroll;
}
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
