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

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

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


/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
    background: #000;
    background:  url("../img/nav-bg.gif") repeat-x;
    height: 40px;
    margin-top: 10px;
}
.pad-0 {
    padding: 0;
} 
nav {
	height: 40px;
	width: 100%;
	font-size: 11pt;
	
	font-weight: bold;
	position: relative;
	background: #000;
	background:  url("../img/nav-bg.gif") repeat-x;
        
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: auto;
	height: 40px;
        
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #FFF;
	display: inline-block;
	min-width: 135px;
        width: auto;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
        text-transform:uppercase;
}
nav li a {

}
nav li:last-child a {

}
nav a:hover, nav a:active {
	background-color: #8c99a4;
}
nav a#pull {
	display: none;
}


@media screen and (max-width: 1000px) {
    nav a { min-width: 110px; }
}
/*Styles for screen 600px and lower*/
@media screen and (max-width: 767px) {
	nav { 
  		height: auto;
  	}
  	nav ul {
  		width: 100%;
                margin: 0 auto;
  		display: block;
  		height: auto;
		
  	}
  	nav li {
  		width: 50%;
  		float: left;
  		position: relative;
		background: #FFF;
		
	
  	}
  	nav li a {
	    color: #333;
	}
  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
		
  	}
	.nav {
		background: none;
		height: auto;
		
	}
}

/*Styles for screen 515px and lower*/
@media only screen and (max-width : 480px) {
	nav {
		border-bottom: 0;
		
	}
	nav ul {
		display: none;
                margin: 0 auto;
		height: auto;
	}
	nav a#pull {
		display: block;
		background-color: #283744;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('../img/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

/*Smartphone*/
@media only screen and (max-width : 320px) {
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		border-bottom: 1px solid #576979;
	}
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    font-family: "Times New Roman", Times, serif;
    color: #333;
}

a {
    color: #6EC5E2;
    text-decoration: none;
}
a:hover, a:active {
    color: #CCC;
}

h1 { font-size: 20pt; }
h2 { font-size: 18pt; }
h3 { font-size: 14pt; }
p,ul,li {font-size: 11pt; }

.right { text-align: right; }
.left { text-align: left; }
.center { text-align: center; }

.heading { font-size: 12pt; font-weight: bold; }

.lean-slider:before,
.lean-slider:after {
    content: " ";
    display: table;
}
.lean-slider:after {
    clear: both;
}

.lean-slider-slide { 
    float: left;
    width: 100%;
    margin-right: -100%;
    display: none; 
}
.lean-slider-slide.current { display: block; }


.slider-wrapper { 
    position: relative; 
    background: #fff url(../img/loading.gif) no-repeat 50% 50%;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.4);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.4);
    box-shadow: 0 0 3px rgba(0,0,0,0.4);
}
.lean-slider { 
    position: relative; 
    *zoom: 1;    
    overflow: hidden;
    background: #30ACD6;
    border-bottom:  2px solid #186178;}
.lean-slider-slide {
    display: block;
    position: relative;
    opacity: 0;
    -webkit-transition: opacity 0.6s linear;
    -moz-transition: opacity 0.6s linear;
    -ms-transition: opacity 0.6s linear;
    -o-transition: opacity 0.6s linear;
    transition: opacity 0.6s linear;
}
.lean-slider-slide.current { opacity: 1; }
.lean-slider-slide img { 
    display: block;
    width: 100%; 
}

#slider-direction-nav {
    position: absolute;
    left: 0;
    top: 45%;
    width: 100%;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    opacity: 0.2;
}
.slider-wrapper:hover #slider-direction-nav { opacity: 1; }
#slider-direction-nav a {
    float: left;
    display: block;
    width: 26px;
    height: 37px;
    background: url(../img/arrows.png) no-repeat 0 0;
    text-indent: -9999px;
}
#slider-direction-nav .lean-slider-next {
    float: right;
    background-position: 100% 0;
}

#slider-control-nav {
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    text-align: center;
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -ms-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
    opacity: 0.2;
}
.slider-wrapper:hover #slider-control-nav { opacity: 1; }
#slider-control-nav a {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(../img/bullets.png) no-repeat 0 0;
    text-indent: -9999px;
    margin: 0 3px;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
}
#slider-control-nav a.active { background-position: 100% 0; }



.phone {
    background:  url("../img/phone.png") no-repeat;
    padding-left: 25px; margin-right:10px;
    margin-top:30px;
    height: 20px;
    line-height: 20px;
    font-size: 12pt;
    
    float: left;
}

.block .transparent {
    float: left;
    background: #FFF;
    height: 40px;
    line-height: 40px;
    width:300px;
    -moz-opacity: 0.50;
    opacity: 0.50;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=50);
    margin: -50px 0px 0px 4px;
    padding-left: 10px;
}
.block a {
    color: #000;
    font-size: 14pt;
    -moz-opacity: 1 !important;
    opacity: 1 !important;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=100) !important;
}
.block a:hover,  .block a:active{
    color: #FF7315;
}

footer {
    margin-top: 20px;
    border-top: 1px solid #CCC;
    font-size: 11pt;
    
    font-weight: bold;
}

footer a:hover, footer a:active {
    color: #6EC5E2;
}

img.blur, .blur { border: 4px solid #FFF; -webkit-border-radius: 10px; border-radius: 10px;-webkit-box-shadow:  2px 2px 10px 0px #ccc; box-shadow:  2px 2px 10px 0px #ccc; 
zoom: 1;
filter:
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=0,strength=1),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=45,strength=1),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=90,strength=2),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=135,strength=3),
  progid:DXImageTransform.Microsoft.Shadow(color=#cccccc,direction=180,strength=10),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=225,strength=3),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=270,strength=2),
  progid:DXImageTransform.Microsoft.Shadow(color=#dddddd,direction=315,strength=1);
 }
body:last-child img.blur {
/* Remove filter from IE9 */filter: none;
}

img.left { float: left; margin: 5px 20px 5px 0px; }
img.right { float: right; margin: 5px 0px 5px 20px; }

div.contact {
    padding: 1em;
    border: 1px solid #CCC;
    border-radius: 1em;
}
form div.form {
    margin-top: 1em;
}
label {
    /* To make sure that all label have the same size and are properly align */
    display: inline-block;
    width: 100px;
    text-align: left;
}
input, textarea {
    /* To make sure that all text fields have the same font settings
       By default, textareas have a monospace font */
    font: 1em sans-serif;

    /* To give the same size to all text field */
    width: 300px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* To harmonize the look & feel of text field border */
    border: 1px solid #999;
}
input:focus, textarea:focus {
    /* To give a little highlight on active elements */
    border-color: #000;
}
textarea {
    /* To properly align multiline text fields with their labels */
    vertical-align: top;

    /* To give enough room to type some text */
    height: 5em;

    /* To allow users to resize any textarea vertically
       It does not work on every browsers */
    resize: vertical;
}
.button {
    /* To position the buttons to the same position of the text fields */
    padding-left: 100px; /* same size as the label elements */
}

button {
    /* This extra margin represent roughly the same space as the space
       between the labels and their text fields */
    margin-left: .5em;
}



@media handheld, only screen and (max-width: 767px) {
    img { width: auto; }
    .phone { display: none;}
    #slide-wrapper, #slider, #slider-control-nav, #slider-direction-nav { display: none;}
}

@media handheld, only screen and (max-width: 480px) {
    img { width: 100%; }
    .phone { display: none;}
    #slide-wrapper, #slider, #slider-control-nav, #slider-direction-nav { display: none;}
    
}



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