@font-face {
    font-family: 'dirty_headlineregular';
    src: url('fonts/dirtyheadline-webfont.eot');
    src: url('fonts/dirtyheadline-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/dirtyheadline-webfont.woff') format('woff'),
         url('fonts/dirtyheadline-webfont.ttf') format('truetype'),
         url('fonts/dirtyheadline-webfont.svg#dirty_headlineregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'source_sans_proregular';
    src: url('fonts/sourcesanspro-regular-webfont.eot');
    src: url('fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-regular-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ==========================================================================
Styles
   ========================================================================== */

html {
	background-image:url(../img/Dini-Electrical-Background.jpg);
	background-repeat:no-repeat;
background-position:center;
background-position:top;
background-color: black;
}

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

h1 {
	font-family: dirty_headlineregular, Arial, Helvetica, sans-serif;
	font-size: 3em;
	line-height: 0em;
	color: white;
}

h2 {
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	line-height: 0em;
	color: white;
}

h3 {
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	color: white;
}

h4 {
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	font-size: 1.1em;
	line-height: 0em;
	color:rgb(51, 204, 255);
}

p {
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: white;
	line-height: 1em;
}

ul{
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: white;
}

header{
height:64px;
}

section{
	margin-left: 90px;
	margin-top: 16px;
	width:650px;
	height: 530px;
}

/* ==========================================================================
   Impression Design styles
   ========================================================================== */
   
 .wrapper {
  width: 960px;
 margin: 0 auto 0;
}

#diniLogo{
	position:absolute;
	margin-left:372px;
	margin-top: -80px;
}

#diniHeader{
	height:48px;
	margin-left:16px;
	width:960px;
	
}

#licensed{
	position:absolute;
	margin-left: 60px;
	margin-top: -30px;
}

#diniPhone{
	float:right;
	position:absolute;
	margin-left: 620px;
	margin-top: -30px;
}

#homeBtn a {
	margin-left: 32px;
	margin-top:12px;
    width:  168px;
    height: 41px;
    display: block;
    background: url('../img/Dini-Electrical-Navbar.jpg');
}

#homeBtn a:hover {
	background: url('../img/Dini-Electrical-Navbar.jpg') -167px 0px ;
	
}
#quoteBtn a {
	margin-left: 32px;
	 width:  168px;
    height: 41px;
    display: block;
    background: url('../img/Dini-Electrical-Navbar.jpg') 0 41px;
}

#quoteBtn a:hover {
	background: url('../img/Dini-Electrical-Navbar.jpg') -167px 41px;
	
}

#col{
	margin-top: -10px;
	columns: 2;
    -webkit-columns: 2; 
    -moz-columns: 2;
	width: 340px;
}

#diniRoof{
	position:absolute;
	margin: -380px 0 0 530px;
}

/* ==========================================================================
   Nav
   ========================================================================== */
nav{
	margin-left:32px;
}

nav ul{
	margin-left:16px;
}

nav li{
	font-family: dirty_headlineregular, Arial, Helvetica, sans-serif;
	font-size: 1.5em;
}

nav li a{
	color: white;
	text-decoration:none;
}

nav li a:hover{
	color: red;
}


footer{
	height: 54px;
	margin-left:16px;
	width:960px;
	}
footer #copyright{
	margin-left:80px;
	margin-top: 16px;
	position:absolute;
}

footer #copyright a{
	color: white;
	font-size:1.2em;
}

footer #impressionSite{
	position:absolute;
	margin-left: 564px;
	margin-top:16px;
	
}

footer #impressionSite a{
	color: white;
	
}



form {
line-height: 24px;
margin-bottom: 16px;
margin-top: -30px;
color: black;
text-decoration: none;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
padding:10px;

  font-family:source_sans_proregular, Arial, Helvetica, sans-serif;
  font-size: 1.0em;

}

form ul{
	margin-left:-48px;
}


form li{
	padding-top: 8px;
	list-style: none;
}



form h3{
font-family: bebas_neueregular, source_sans_proregular,  Arial, Helvetica, sans-serif;
  font-size: 1.6em;
  color: #00548E;
  display:inline;
}

#formNextBtn {
	margin: 32px auto;
}



/* ==========================================================================
   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 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;
    }
}
