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

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

















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





/* ==========================================================================
   HUY's STYLE 
   ========================================================================== */

.nav-back-wrapper{background-color:#000;opacity:0.7;
filter:alpha(opacity=70); position:fixed; width:100%; height:40px;z-index:999;}
nav {width:100%; height:40px; position:fixed; z-index:1000;}
nav a{font-family:Century Gothic,Arial, Helvetica, sans-serif;color:#999; font-size:12px; float:left; margin:12px 20px 0px 20px; text-decoration:none;}
nav a:hover{color:#fff; text-decoration:line-through;}
.home-logo-icon{height:35px; width:65px; background-color:#ee145b;margin:0px; text-align:center; padding:5px 0px 0px 0px; color:#FFFFFF; font-size:16px;}
img.mailicon{opacity:0.7;
filter:alpha(opacity=70);margin-top:-4px;margin-left:10px;}
img.mailicon:hover{opacity:1;
filter:alpha(opacity=100);margin-top:-4px;margin-left:10px;}
img.linkedinicon{opacity:.7;
filter:alpha(opacity=70);margin-top:-4px;}
img.linkedinicon:hover{opacity:1;
filter:alpha(opacity=100);margin-top:-4px;}


.nav-contect-wrap{float:right;}
.nav-contect-wrap a{margin:12px 10px 0px 10px;}
a.phonenumber-nav{}

#initial-screen{ 

position:absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -1000;
background:
url(../img/homescreen2.jpg) no-repeat center center; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
 }
 
 
#dotspattern-overlay{width: 100%;
height: 100%;
position: absolute;
z-index:-1;
overflow: hidden;
top: 0;
left: 0;
background:
url(../img/iuqopattern.png) repeat; 
}


.project-toggle-wrapper{ width:140px; margin-top:10px; position:absolute; right:100px; color:#555555;}
span.toggle-smalltxt{font-size:.85em; font-family:"Times New Roman", Times, serif; font-style:italic;}
a.prev-project-btn{ width:20px; height:15px; margin-top:5px;padding:15px; border-radius:3px;  background:#6dcff6;  color:#fff; z-index:9000;float:left;margin-left:10px; font-size:1.15em; text-align:center; line-height:1em; font-weight:bold; opacity:.7;filter:alpha(opacity=70); text-decoration:none;}
a.next-project-btn{width:20px; height:15px; margin-top:5px;padding:15px; border-radius:3px;  background:#6dcff6;  color:#fff; z-index:9000;float:right; margin-right:10px; font-size:1.15em; text-align:center; line-height:1em; font-weight:bold;opacity:.7;filter:alpha(opacity=70); text-decoration:none;}
a.prev-project-btn:hover{opacity:1;filter:alpha(opacity=100);}
a.next-project-btn:hover{opacity:1;filter:alpha(opacity=100);}




#hometext-wrapper{position:relative; width:65%; margin:auto; text-align:center;line-height:0px; top:35%;}
.homescrn-welcome-txt{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; font-size:5em; color:#FFFFFF; font-weight:100; line-height:.85em;}
.homescrn-imhuy-txt{font-family:'Times New Roman', Times, serif; font-size:5.25em; font-style:italic; font-weight:100; color:#ed145b;line-height:.85em;}

.diag-line-bar{width:100%; height:4px;background:url(../img/diag-line-bar.jpg) repeat-x;opacity:0.7;
filter:alpha(opacity=70); /* For IE8 and earlier */}

.pink-sanserif-txt{font-family:'Times New Roman', Times, serif; font-size:1.7em; font-style:italic; font-weight:100; color:#ed145b; line-height:1em;}
.white-sanserif-txt{font-family:'Times New Roman', Times, serif; font-size:1.7em; font-style:italic; font-weight:100; color:#fff;line-height:1em;}
 
.homescreen-motto{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; color:#fff; font-size:1.55em;line-height:1em;} 
 
.homescrn-viewworks-btn{background:#305763;padding:5px 20px 5px 20px; border:#FFFFFF; display:block; height:auto; width:10em;opacity:0.7;
filter:alpha(opacity=70); /* For IE8 and earlier */ text-align:center; line-height:2em; margin:auto; color:#fff; border:1px thin #fff; border-radius:3px;} 

 
 
/*----------- Selected Works Section-------------------*/
 
 
 
#site-wrapper{position:absolute;
left: 0;
top: 100%;
width: 100%;
height: auto;
overflow: visible;
z-index:-100000;
background:#f1f1f1;
} 
 
#selected-works-page{
position: relative;
left: 0;
top: 0;
width: 100%;
height: auto;
overflow:auto;
z-index: 10;
background:#111;
padding-top:80px; padding-bottom:180px; 
}



#selected-works-page h2{color:#f1f1f1; text-align:center; font-size:2em;font-family:Century Gothic,Arial, Helvetica, sans-serif;letter-spacing:-2px; font-weight:100;}
.works-thumb-wrapper{width:auto; margin:auto; max-width:990px; text-align:center;}
.thumbs-block{width:33%; margin:1px; height:auto; float:left;}
.thumbs-block img{width:100%; height:auto;opacity:0.35;
filter:alpha(opacity=35);}
.thumbs-block img:hover{width:100%; height:auto;opacity:1;
filter:alpha(opacity=100);}




/*----------- About Me Section-------------------*/



#aboutme-section{z-index:10;position: relative; height:auto; background-color:#f1f1f1; font-family:Century Gothic,Arial, Helvetica, sans-serif; width:100%; text-align:center;background:url(../img/diag-bkg.jpg) repeat; float:left; }
#aboutme-section h2 {color:#333333; text-align:center; font-size:2em;font-family:Century Gothic,Arial, Helvetica, sans-serif;letter-spacing:-2px; font-weight:100; padding-top:80px;}

img.aboutmepic{margin:auto; padding:0; width:333px; text-align:center;}

p.aboutme-toptextblock{font-family:"Times New Roman", Times, serif; font-style:italic; font-size:1.85em; width:65%; margin:auto; font-weight:400;}


span.pinktext{color:#ed145b;}



#aboutme-2Col-wrapper{max-width:990px;width:100%; margin:auto; height:auto;padding-top:20px; padding-bottom:20px; display:block;background:url(../img/diag-bkg.jpg) repeat;}

#aboutme-leftCol-wrapper{ width:65%;height:auto; background-color:#fff; color:#252525; float:left; text-align:left;}
#aboutme-leftCol-wrapper h3{font-family:"Times New Roman", Times, serif; font-size:1.85em;color:#ed145b; font-style:italic; font-weight:100; padding-left:20px;line-height:.5em;}
#aboutme-leftCol-wrapper ul{list-style-type:none; margin:0px; padding:0px 10px 0px 20px;}
#aboutme-leftCol-wrapper li{font-size:16px; padding:7px 0px 7px 0px; line-height:1.15em;}


#aboutme-rightCol-wrapper{width:34%; height:auto; background-color:#252525; float:left; text-align:left; color:#f1f1f1;}
#aboutme-rightCol-wrapper h3{font-family:"Times New Roman", Times, serif; font-size:1.35em;color:#ed145b; font-style:italic; font-weight:100; padding-left:10px;line-height:.5em;}
#aboutme-rightCol-wrapper ul{list-style-type:none; margin:0px; padding:0px 10px 20px 10px;}
#aboutme-rightCol-wrapper li{font-size:12px; padding:15px 0px 15px 0px; border-top:1px solid #333;}
p.johnlockequote{padding:15px; text-align:center;}


.company-quote{padding:15px; text-align:center; width:auto;}
.client-logos{padding:15px; width:90%;}

#aboutme-contactblock{width:100%; height:auto; background-color:#ed145b;}
#aboutme-contactblock ul{list-style-type:none; padding:30px 0px 30px 10px;}
#aboutme-contactblock a{color:#fff;}
#aboutme-contactblock li{border-top:none;padding:5px 0px 5px 0px; font-size:1.15em;}

/*----------- Contact Section-------------------*/

#dotspattern-overlay2{width: 100%;
height: 100%;
position: absolute;
z-index:1;
overflow: hidden;
top: 0;
left: 0;
background:
url(../img/iuqopattern.png) repeat; 
}
#contact-section{float:left; z-index:-999; position:static; width:100%; margin:auto; height:500px;background-color:#999;background:url(../img/footerbkg.jpg) no-repeat center center; 
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;}

.contact-wrapper-text{position:relative; z-index:10; background:#000;opacity:0.7;
filter:alpha(opacity=70); float:left; margin:100px 0px 0px 100px; width:200px; text-align:center; color:#f1f1f1; }
.contact-wrapper-text ul{list-style-type:none; padding:30px;}
.contact-wrapper-text li{margin:0px 0px 15px 0px;}
.contact-wrapper-text a{color:#fff;}
#contact-section h3 {color:#fff; text-align:center; font-size:2em;font-family:Century Gothic,Arial, Helvetica, sans-serif;letter-spacing:-2px; font-weight:100;padding-top:40px;}


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


@media only screen and (max-width: 1024px) {
  #hometext-wrapper{position:relative; width:67%; margin:auto; text-align:center;line-height:0px; top:35%;}
.homescrn-welcome-txt{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; font-size:4em; color:#FFFFFF; font-weight:100; line-height:.85em;}
.homescrn-imhuy-txt{font-family:'Times New Roman', Times, serif; font-size:4.25em; font-style:italic; font-weight:100; color:#ed145b;line-height:.85em;}
}





@media only screen and (max-width: 768px) {
  #hometext-wrapper{position:relative; width:65%; margin:auto; text-align:center;line-height:0px; top:25%;}
.homescrn-welcome-txt{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; font-size:2.5em; color:#FFFFFF; font-weight:100; line-height:.85em;}
.homescrn-imhuy-txt{font-family:'Times New Roman', Times, serif; font-size:2.75em; font-style:italic; font-weight:100; color:#ed145b;line-height:.85em;}
.thumbs-block{width:48%; margin:1px; height:auto; float:left;}
#aboutme-leftCol-wrapper{width:100%;}
#aboutme-rightCol-wrapper{width:100%;}
.nav-contect-wrap{display:none;}
}




@media only screen and (max-width: 480px) {
  #hometext-wrapper{position:relative; width:65%; margin:auto; text-align:center;line-height:0px; top:15%;}
.homescrn-welcome-txt{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; font-size:1.5em; color:#FFFFFF; font-weight:100; line-height:.85em;}
.homescrn-imhuy-txt{font-family:'Times New Roman', Times, serif; font-size:1.75em; font-style:italic; font-weight:100; color:#ed145b;line-height:.85em;}
.thumbs-block{width:98%; height:auto; float:left;}
#aboutme-leftCol-wrapper{width:100%;}
#aboutme-rightCol-wrapper{width:100%;}
.nav-contect-wrap{display:none;}
}

@media only screen and (max-width: 350px) {
  #hometext-wrapper{position:relative; width:65%; margin:auto; text-align:center;line-height:0px; top:15%;}
.homescrn-welcome-txt{font-family:Century Gothic, sans-serif,Arial, Helvetica, sans-serif; font-size:1.15em; color:#FFFFFF; font-weight:100; line-height:.85em;}
.homescrn-imhuy-txt{font-family:'Times New Roman', Times, serif; font-size:1.4em; font-style:italic; font-weight:100; color:#ed145b;line-height:.85em;}
.thumbs-block{width:98%; height:auto; float:left;}
#aboutme-leftCol-wrapper{width:100%;}
#aboutme-rightCol-wrapper{width:100%;}
.nav-contect-wrap{display:none;}
}

