/*
 * 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:#3D3D3D; 
    color:#FFF; !important 
} 

::selection { 
    background:#3D3D3D; 
    color:#FFF; !important 
} 


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

/* DEFAULT STYLES */

a { text-decoration:none; border:0; outline: none; }
b { font-weight:bold; }
noscript { display:none; }
.clear-fix { display:inline-block; width:100%; }
.preload { display:none; }
.fade { 
    -moz-transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    }

/* CONTAINERS */

#container {
    margin: 0 auto;
    height:auto; 
    min-height:100%;
    min-width: 100%;
    position:absolute;
    padding-bottom: 100px;
    }

/* WRAPPERS */
.wrapper {
    margin: 0 auto; 
    margin-left: 40px;
    margin-right: 40px;
    padding:4px 0 5px;
    font-size:1.4em;
    line-height: 1.3em;
}

/* MAIN SETUP */
body {
    background: url(../img/worn_dots.png) repeat,
                url(../img/bg_body.jpg) repeat-x center top,
                #dee0d3;    
    overflow-x:hidden;
}

.contact-body {
    background: url(../img/diamond_upholstery.png) repeat,
                url(../img/bg_body_about.jpg) repeat-x center top,
                #eadece;
    overflow-x:hidden;
}
.contact-body a {
        color:#c48658;
}
.contact-body a:hover {
        color:#ddd;
}

.about-body {
    background: url(../img/arches.png) repeat,
                url(../img/bg_body_work3.jpg) repeat-x center top,
                #202a36;
    overflow-x:hidden;
}
.about-body a {
        color:#58a2c4;
}
.about-body a:hover {
        color:#ddd;
}

.work-body {
    background: url(../img/gplay.png) repeat,
                url(../img/bg_body_contact.jpg) repeat-x center top,
                #d9c1c1;
    overflow-x:hidden;
}
.work-body a {
        color:#c45858;
}
.work-body a:hover {
        color:#ddd;
}

.error-body {
    background: url(../img/e1.png) repeat,
                url(../img/bg_body_404.jpg) repeat-x center top,
                #d1d1d1;
                overflow-x:hidden;
}
.error-body a {
        color:#000;
}
.error-body a:hover {
        color:#ddd;
}

body, input, textarea {
    color:#4F5454;
    font-family:'Cabin', Arial, San-Sherif;
    font-size:13px;
    line-height:1.5em;
    }
    
/* HEADERS & FORMATTING */

h1, h2, h3 {
    font-size:16px;
    margin:5px 0;
    padding:0;
    }
h1 {
    font-size:25px;
    font-weight:bold;
    letter-spacing:1px;
    text-shadow:0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform:uppercase;
}
h2, h3 {
    color:#859A99;
    font-size:10px;
    letter-spacing:1px;
    padding:1px 0;
    text-align:center;
    text-transform:uppercase;
    }
h3 {
    font-size:12px;
    font-weight:bold;
    }
h4 {
    font-size:25px;
    font-weight:bold;
    letter-spacing:1px;
    text-shadow:0 1px 0 rgba(255, 255, 255, 0.2);
    text-transform:uppercase;
    text-align:center;
}
p {

    }
hr {
    background-color:rgba(255,255,255,0.3);
    border:0;
    height:1px;
    margin:15px 0;
    }
    
/* LINKS */

a {
    border-bottom:1px solid rgba(255,255,255,0.3);
    color:#222;
    }
a:hover {
    border-bottom:1px solid rgba(255,255,255,0.5);
    color:#777;
    }
    
/* CORNERS */

#bgtopleft, #bgtopright, #bgbottomleft, #bgbottomright, #bgglow {
    background:transparent url(../img/bg_topleft.png) no-repeat left top;
    position:fixed;
    height:auto; width:100%; min-height:100%; 
    z-index:-1;
    }
#bgtopright { background:transparent url(../img/bg_topright.png) no-repeat right top; }
#bgbottomleft { background:transparent url(../img/bg_bottomleft.png) no-repeat left bottom; }
#bgbottomright { background:transparent url(../img/bg_bottomright.png) no-repeat right bottom; }
#bgglow{ background:transparent url(../img/bg_glow.png) no-repeat center top; }

/* LOGO */

#logo {
    background:url(../img/logo.png) no-repeat center;
    margin:65px auto;
    margin-bottom: 15px;
    height:87px; 
    width:380px;
    filter:alpha(opacity=70);
    opacity: 0.7;
    border: 5px solid #fff ;
    }

#logo:hover {
    filter:alpha(opacity=50);
    opacity:0.5;
    }

#logo a {
    border:0 none;
    cursor:pointer;
    display:inline-block;
    left:0;
    overflow:hidden;
    position:relative;
    height:87px; 
    width:380px;
    top:0;
    }

/* TITLES */

#banner-text-contact  {
    font-size: 1.5em;
    text-align: center;
/*    padding-top: 20px;
    margin-bottom: 10px;*/
    margin: 5px auto;
    letter-spacing: 2px;
    color: #c48658;
    font-weight: bold;
}

#banner-text-about  {
    font-size: 1.5em;
    text-align: center;
/*    padding-top: 20px;
    margin-bottom: 10px;*/
    margin: 5px auto;
    letter-spacing: 2px;
    color: #53768d;
    font-weight: bold;
    padding: 20px;
    line-height: 1.5em;
}

#banner-text-about a {
    border: none;
    color: #435D78;
}

#banner-text-work  {
    font-size: 1.5em;
    text-align: center;
/*    padding-top: 20px;
    margin-bottom: 10px;*/
    margin: 5px auto;
    letter-spacing: 2px;
    color: #c45858;
    font-weight: bold;
}

#banner-text-error  {
    font-size: 1.5em;
    text-align: center;
/*    padding-top: 20px;
    margin-bottom: 10px;*/
    margin: 5px auto;
    letter-spacing: 2px;
    color: #000;
    font-weight: bold;
}

/* LANDING NAV. */

#about  {
/*    background:url(../img/nav_bg.png);*/
    background-color: #d7dac9;
/*    background-color: #757575;*/
    width:230px;
    height: 40px;
    font-size: 3.3em;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 10px;
    filter:alpha(opacity=100);
    opacity:1;
    margin: 5px auto;
    letter-spacing: 2px;
}

#about a {
    border-bottom: none;
    color: #b4b798;
    font-weight: bold;
    overflow:hidden;
    position:relative;
}

#about a:hover {
    color: #c48658;
    }
    
#about:hover {
    filter:alpha(opacity=70);
    opacity:0.7;
    }

#work{
    background-color: #d7dac9;
    width:230px;
    height: 40px;
    font-size: 3.3em;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 10px;
    filter:alpha(opacity=100);
    opacity:1;
    margin: 5px auto;
    letter-spacing: 2px;
}

#work a {
    text-decoration: none;
    border-bottom: none;
    color: #bfc3aa;
    font-weight: bold;
    overflow:hidden;
    position:relative;
}

#work a:hover {
    color: #58a2c4;
    }

#work:hover {
    filter:alpha(opacity=40);
    opacity:0.4;
    }
    
#contact{
/*    background:url(../img/nav_bg.png);*/
    background-color: #d7dac9;
/*    background-color: #424242;*/
    width:230px;
    height: 40px;
    font-size: 3.3em;
    text-align: center;
    padding-top: 20px;
    margin-bottom: 10px;
    filter:alpha(opacity=100);
    opacity:1;
    margin: 5px auto;
    letter-spacing: 2px;
}

#contact a {
    text-decoration: none;
    border-bottom: none;
    color: #c3c7b1;
    font-weight: bold;
    overflow:hidden;
    position:relative;
}

#contact a:hover {
    color: #c45858;
    }

#contact:hover {
    filter:alpha(opacity=40);
    opacity:0.4;
    }

/* MAIN NAV. */

#nav {
    border-bottom:2px dotted rgba(232, 236, 236, 0.3);
    margin-bottom:24px;
    height:40px;
    text-align:center;
    font-size: 22px;
    font-weight: bold;
    }
#nav ul {
    padding-left: 0;
}
#nav li {
    display:inline-block;
    height:40px;
    position:relative;
    filter:alpha(opacity=40);
    opacity:0.6;
    padding-left: 10px;
    padding-right: 10px;
    color: #000;
    }
#nav li:hover {
    filter:alpha(opacity=50);
    opacity:0.5;
    }
#nav ul li a, #nav ul li a span {
    border: 0 none;
    cursor: pointer;
    display: inline-block;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    text-decoration: none;
    color: #111;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    }
#nav :hover li a{
    color: transparent;
    }
#nav li a:hover{
    text-shadow: 1px 1px 10px rgba(0,0,0,0.6);
    color: #fff;
    }

/* FOOTER */

footer {
    background-color:#222;
    border-top:1px solid rgba(0,0,0,0.1);
    bottom:0;
    color:#dee0d3;
    font-size:10px;
    letter-spacing:1px;
    padding:5px 0;
    position:fixed;
    text-align:center;
    text-transform:uppercase;
    width:100%;
    z-index:1000;
    }

/*  TWIITER & INSTAGRAM */

#twitter_link {
    background:url(../img/icon_twitter.png) no-repeat;
    position:fixed;
    bottom:40px; left:05px;
    height:32px; width:32px;
    filter:alpha(opacity=50); opacity:0.5;
    z-index:1;
    }
#twitter_link:hover {
    filter:alpha(opacity=100); opacity:1;
    }
#twitter_link a {
    border:0 none;
    cursor:pointer;
    display:inline-block;
    height:32px;
    position:relative;
    overflow:hidden;
    width:32px;
    }
#insta_link {
    background:url(../img/icon_instagram.png) no-repeat;
    position:fixed;
    bottom:40px; right:05px;
    height:32px; width:32px;
    filter:alpha(opacity=50); opacity:0.5;
    z-index:1;
    }
#insta_link:hover {
    filter:alpha(opacity=100); opacity:1;
    }
#insta_link a {
    border:0 none;
    cursor:pointer;
    display:inline-block;
    height:32px;
    position:relative;
    overflow:hidden;
    width:32px;
    }
#shift
{
    border-bottom:1px solid rgba(0,0,0,0.1);
    bottom:0;
    color:#fff;
}
/* ==========================================================================
   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 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;
    }
}
