/*
 * HTML5 Boilerplate
 *
 * 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: #222;
}

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

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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 and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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


/* ==========================================================================
   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.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



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


/* ==========================================================================
   Main styles.
   ========================================================================== */

body { font-family: 'Muli', sans-serif; border-top:10px solid #395a95; background:#212121; }

a, a:link, a:visited { text-decoration:none; color:#1f6fa7; }
a:hover { color:#000; }

p { color:#000; font-size:17px; margin-bottom:1.5em; line-height:1.5em;  }
h1 { font-size: 1.5em; margin-bottom:20px; margin-top:0px; font-family: 'Libre Baskerville', sans-serif; font-weight:300; padding:0px 0; color:#1f6fa7; }
h2 { font-size: 1.2em; margin-bottom:0; margin-top:0px; font-family: 'Libre Baskerville', sans-serif; font-weight:300; padding:0px 0; color:#1f6fa7; }

.logo { width:100%; height:auto; text-align:center;  }
.logo img { width:80%; margin:20px 0 0 0;}

.headContain { width:100%; padding:30px 0 40px 0; background:url(../images/headbk.jpg) top left repeat; }
.menuContain { width:100%;  padding:0px 0 0px 0; background:url(../images/menubk.jpg) top left repeat; border-top:#c7d0de 1px solid; border-bottom:#c7d0de 1px solid;}

.tel img { max-width:106px; width:100%; height:auto; margin-top:12px;  }
.fsa img { max-width:106px; width:100%; height:auto; margin-top:12px; float:right;  }
.banner { padding-top:20px; }

.banner img { width:100%; height:auto;}

.triheading { height:48px; background:#395a95; line-height:48px; color:#fff; font-family: 'Libre Baskerville', sans-serif; padding-left:10px; font-size:22px; border-bottom:1px solid #fff; }


.section1 { width:100%; padding:0; margin:0; }
.section1Contain img { width:100%; height:auto; }

.servicescol { }
.servicescol img { width:100%; height:auto; }

.tritext {padding:10px;  background-color:#ededed; margin-bottom:20px;}

.section1 { width:100%; padding-top:20px; }
.section1 .servicescol { margin-bottom:20px; }

.bannerbk { background:#fff; }

.section2 { width:100%; padding:0; background:#fff; padding-top:40px;}
.section2Contain { margin:0 0 20px 0; }


.footer { width:100%; background:#212121; border-top:10px solid #1f6fa7; }
.footerContain  { width:100%; padding:0 0; }
.copyright { padding:20px 0 10px 0; }
.copyright p {  color:#fff; }


    
/* #Nav
================================================== */

#nav { display: block; text-align: left;  margin: 12px 0 0 0; min-height: 35px; padding: 4px 0 8px 0; clear:both;}
#nav ul { display: block; font-weight: 300; margin: 0; text-align: left; list-style:none; padding:0; }
#nav ul li { display: inline;  padding: 0 7px 0; line-height:27px; }
#nav ul li a, nav ul li a:visited, nav ul li a:active { color: #1f6fa7; font-size: 18px; position: relative; text-decoration: none; font-family:'Libre Baskerville',Helvetica, Arial, sans-serif; font-weight:400; }
#nav ul li a:hover { color:#000; }
#nav ul li.first { padding-left: 0; }
#nav ul li.last { border-right: none; padding-right: 0;}
     

#url { min-height:35px; padding:4px 0 8px 0; margin-top:12px; text-align:right; font-size: 17px; line-height:28px; font-family:'Libre Baskerville',Helvetica, Arial, sans-serif; font-weight:400; color: #1f6fa7; }
     

/* #Contact Form
================================================== */

form { margin: 20px 0 20px 0; }
fieldset { margin-bottom: 20px; }
input[type="text"], input[type="password"], input[type="email"], textarea, select { border: 1px solid #ccc; padding: 6px 4px; outline: none; font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #777; margin: 0; width: 98%; max-width: 100%; display: block; margin-bottom: 20px; background: #fff; }
select { padding: 0; }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus { border: 1px solid #aaa; color: #444; -moz-box-shadow: 0 0 3px rgba(0,0,0,.2); -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); box-shadow:  0 0 3px rgba(0,0,0,.2); }
textarea { min-height: 80px; resize:none; }
label, legend { display: block; font-size: 16px;  }
select { width: 220px; }
input[type="checkbox"] { display: inline; }
label span, legend span { font-weight: normal; font-size: 13px; color: #444; }
.screenReader { left: -9999em; position: absolute; top: -9999em; }
.submit { background-color:#747373; display:inline-block; color:#ffffff; font-size:15px; padding:0; text-decoration:none; border:0; width:120px; height:41px; }
label.error { padding-bottom:15px; color:#ccc; }
.links-to-select { display: none; }
legend { display:none; }
.marginbottom { padding-bottom:20px; }



/* ==========================================================================
   Media Queries.
   ========================================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {
	
	#nav ul li a, nav ul li a:visited, nav ul li a:active { font-size: 16px; }
    #nav ul li { padding: 0 7px 0; }
    
    #url { font-size:15px; line-height:24px; }
    
    h1 { font-size:1.3em; }
    
    .logo img { width:90%; }
	
	}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
    
    h1 { font-size:1.3em; }
	 #nav ul li { padding: 0 5px 0;  } 
	 #nav ul li a, nav ul li a:visited, nav ul li a:active { font-size: 15px;   }
	 #url {  line-height:27px;  }
	 .logo img { width:90%; margin:20px 0 0 20px; }
	}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {   
	
    .section1Contain img {margin-bottom:20px; }
     .logo img { width:100%; margin:20px 0 0 0;}
 
	}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		

		.banner { display:none;  }
	 .fsa img, .tel img{ display:none; }

        #url { display:none; }
        
         #nav { display: none; } 
  .links-to-select { display: block; width:100%; margin-top:20px;}

    
		}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	    
    .logo { margin:0 auto; float:none; }
	.fsa img, .tel img{ display:none; }

	.banner { display:none;  }
	.section3 ul li a { width:100%; }
	.section3 ul li i { display:none;}
	
	   #url { display:none; }
        
         #nav { display: none; } 
  .links-to-select { display: block; width:100%; margin-top:20px; }
	}
	