/*! 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.
 */

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600);

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

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
	height: 100%;
	-webkit-font-smoothing:subpixel-antialiased;
}

/*
 * 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: #ADC6D2;
    text-shadow: none;
}

::selection {
	background-color: #ADC6D2;
	text-shadow: none;
}


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

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

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

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

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	background-image: url(../img/NanumettLogo.png);
	border: 0;
	overflow: hidden;
	width: 330px;
	height: 51px;
    /* 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;
}

.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;
}

/* ==========================================================================
  Start custom (non-boilerplate)
   ========================================================================== */
   
a {
	color: #3a6c81;
	font-weight: 600;
	text-decoration: none;
}
a:visited {
	color: #6091A8;
	font-weight: 600;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
h1 {
	font-family: 'Open Sans', "Lucida Grande", Verdana, sans-serif;
	font-size: 16px;
}
h2 {
	color: #0E3967;
	font-weight: 600;
	font-size: 18px;
	line-height: .8em;
	padding-top: 20px;
}
h3 {
	color: #666;
	font-weight: 600;
	font-size: 18px;
	line-height: .8em;
}
body {
	width: 100%;
	height: 100%;
	font-family: 'Open Sans', "Lucida Grande", Verdana, sans-serif;
	color: #000000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8em;
}
.wrapper {
    width: 920px;
    margin: 0 auto;
}

.preheader-container {
	width: 100%;
	min-width: 920px;
	background-image: url(../img/gray_tile.png);
	background-repeat: repeat-x;
	background-color: #E6E6E6;
	height: 37px;
}
.header-container {
	background-color: #FFFFFF;
	margin-top: 30px;
}

.main-container {
	background-color: #FFFFFF;
	margin-top: 30px;
	min-height: 80%;
}

.footer-container {
	width: 100%;
	min-width: 920px;
	background-image: url(../img/footer_tile.gif);
	background-repeat: repeat-x;
	height: 47px;
	color: #FFFFFF;
	font-family: 'Open Sans', "Lucida Grande", Verdana, sans-serif;
	font-size: 12px;
	line-height: 47px;
	background-color: #0D2340;
}

.leftcontainer {
	width: 40%;
}
.rightcontainer {
	float: right;
}

/* ==========================================================================
  PreHeader & Header
   ========================================================================== */
   
#preheader {
	color: #363636;
	font-family: 'Open Sans', "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	text-align: right;
	height: 37px;
	line-height: 37px;
	font-size: 12px;
	font-weight: 600;
}
#preheader a {
	color: #363636;
	font-weight: 600;
	text-decoration: none;
}
#preheader a:visited {
	color: #363636;
}
#preheader a:hover {
	color: #3a6c81;
}
#top {
	margin-top: 20px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 30px;
}
.title {
        float: left;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

#mainnav {
	float: right;
}
nav ul {
    margin: 0;
    padding: 0;
	float: right;
}
nav li {
	float: left;
}
#mainnav a:link, #mainnav a:visited {
	display: block;
	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	text-align: center;
	text-decoration: none;
	font-weight: 400;
	color: #000;
	font-size: 13px;
	border-bottom: 2px solid #b5b5b5;
}
#mainnav a.current {
	color: #3a6c81;
	border-bottom: 2px solid #46748a;
}
#mainnav a:hover {
	color: #3a6c81;
	text-decoration: none;
	border-bottom: 2px solid #46748a;
}

/* ==========================================================================
  Hero and Callout Statement
   ========================================================================== */
   
#hero img {
	max-width: 100%;
}
#callout {
	color: #0E3967;
	font-family: 'Open Sans', "Lucida Grande", Verdana, sans-serif;
	font-weight: 400;
	font-size: 18px;
	text-align: center;
	margin: 10px 0px;
}

/* ==========================================================================
  Main Content
   ========================================================================== */
   
#main {
	padding-bottom: 50px;
}
.topspace {
	margin-top: 50px;
}

.accordions {
	padding-top: -10px;
}
.accordions p {
	margin-top: 0px;
}
.servicesbody h2 {
	color: #000;
}
.servicesbody p {
	margin: .5em 0px;
}

/* ==========================================================================
  Blockquotes
   ========================================================================== */

blockquote.style1 {
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 60px;
	padding-left: 25px;
	border-left: 3px solid #ccc;
	color: #666;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.6em;
	font-style: italic;
}
.bq1 {
	width: 550px;
	background:url(../img/quote-open.gif) top left no-repeat;
	margin: 0px;
	padding: 0px 0px 0px 60px;
	color: #666;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.6em;
	font-style: italic;
}
.bq1 p{
	background:url(../img/quote-close.gif) bottom right no-repeat;
	padding: 0px 30px 0px 0px;
}

/* ==========================================================================
  Footer
   ========================================================================== */
   
footer {
}
#contactfooter a {
	color: #FFFFFF;
	text-decoration: none;
	font-weight: 400;
}
#contactfooter a:visited {
	color: #FFFFFF;
}
#contactfooter a:hover {
	color: #6091A8;
}
#contactfooter img{
	padding: 0px 8px 0px 30px;
}
/* ==========================================================================
   contact form styling
   ========================================================================== */
.contactlabel {
	color: #3a6c81;
	font-weight: 600;
	font-size: 14px;
}
.inputtext {
	 color: #000;
	 font-size: 16px;
}
   
/* ==========================================================================
   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 {
         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;
    }
}
