/*
 * 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

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


body,html{
    margin: 0px;
    padding: 0px;
    width:100%;
    height:100%;
    background-color:#f6f2ed;
}

p, h1, h2, a, li, div{
    font-family: 'Crimson Text', serif;

}
p{
    line-height:16px;
}
h2{
    font-size: 25px;
    color:#9d1e2a;
    font-style:italic;
    font-weight:normal;
}
.ribbon{
    float: left;
    position:relative;
    width:100%;
    
    clear:both;
}

.wrap{
    width: 900px;
    margin: 0 auto;
    display: block;
}




#header{
    position:fixed;
    top:0px;
    left:0px;
    z-index:99999;
}

#header img{
    float:left;
    display:block;
}

#menu_button_open, #menu_button_close{
    width: 70px;
    height:70px;
    float:left;
    cursor:pointer;
}

#menu_button_open{
    background: url('../img/menu.png');
}
#menu_button_open:hover{
    background: url('../img/menu_hover.png');
}

#menu_button_close{
    background: url('../img/menu_over.png');
}
#menu_button_close:hover{
    background: url('../img/menu_over_hover.png');
}

.nav-logo{
    position:relative;
}
.menu-drop{
    position:relative;
    height:0px;
    float:left;
    clear:both;
    overflow:hidden;
    -webkit-transition: height 1s;
    transition:height 1s;
    
}

#nav_box{
     background: url('../img/nav_box.png');
     width:221px;
     height:228px;
}


.slide-down{
    height:228px;
}


.nav-item{
    width: 173px;
    height:25px;
    -webkit-transition: opacity 1s;
    transition:opacity 1s;
    opacity:0;
}

.slide-down .nav-item{
    opacity: 1;
}
#home{
    background: url('../img/home.png');
    position: absolute;
    top: 25px;
    left: 20px;
}

#home:hover{
    background: url('../img/home_hover.png');
}

#services{
    background: url('../img/services.png');
    position: absolute;
    top: 65px;
    left: 20px;
}

#services:hover{
    background: url('../img/services_hover.png');
}

#stylists{
    background: url('../img/stylists.png');
    position: absolute;
    top: 105px;
    left: 20px;
}


#stylists:hover{
    background: url('../img/stylists_hover.png');
}

#visit{
    background: url('../img/visit.png');
    position: absolute;
    top: 145px;
    left: 20px;
}

#visit:hover{
    background: url('../img/visit_hover.png');
}

#footer{
    padding-top:20px;
}
#footer_bar{
    width:100%;
    height:10px;
    background:url('../img/footer_divider.png');
    background-repeat: repeat-x;
    
}

.divider{
    width:100%;
    background:url('../img/line.png');
    background-repeat: repeat-x;
    height:1px;

}
.flex, .flex-viewport, .slides, .flex li{
    height:100%!important;
}
.flex li{
    background-size:cover;
}

.feat1{
    background: url('../img/feature_1.jpg');
}
.feat2{
    background: url('../img/feature_2.jpg');
}
.feat3{
    background: url('../img/feature_3.jpg');
}
.feat4{
    background: url('../img/feature_4.jpg');
}
.social{
    width:100px;
    float:left;
}
.social a{
    margin-left:10px;
}

.contact{
    float: right;
    width: 50%;
    text-align: right;
    font-style: italic;

}

.bold{
    font-weight: bold;
}
.contact p{
    padding-right:20px;
    margin:0px;
}


.page-title {
    left: 235px;
    position: absolute;
    top: 0;
    font-weight:normal;
    font-style: italic;
    font-size:25px;
}

.content{
    padding-top:130px;
}

.col3{
    width:240px;
    font-weight:normal;
    margin-left:90px;
    float:left;
}
.col3 p{
    font-style: italic;
}

.col3 span{
    margin-left:10px;
    color:#e3930f;
    font-style: normal;
}
.col3 h2{
    font-weight:normal;
}

.col3.first{
    margin-left:0px;
}


.fourpix {
    margin-left: 2%;
    max-width: 23%;
}

.fourpix.first{
    margin-left:0px;
}

.stylists p{
    font-size:16px;
    color:#e3930f;
    font-style:normal;
}

.stylists li{
    font-size: 16px;
    font-style: italic;
}
.stylist img{
    margin: 0 auto;
    display:block;
}
.stylists h2{
    font-style: normal;
}

.hours-of-op p{
    font-style: italic;
}

.hours-of-op p.norm{
    font-style: normal;
}

.hours-of-op span{
    font-style: normal;
    color:#e3930f;
    margin-left:10px;
}
@media (max-width: 900px){
    .wrap{
        width:100%;
        float:left;
        clear:both;
    }
    .wrap h2{
        margin-left:20px;
    }
    .wrap p{
        margin-left:20px;
        margin-right:20px;
    }

    .col3, .col3.first{
        float:none;
        margin:0 auto;
    }

    .col3 p{
        margin-left:0px;
        margin-right:0px;
    }

    .stylists{
        padding-bottom: 20px;
    }

    .fourpix, .fourpix.first{
        width: auto;
        margin: 0 auto;
        display: block;
    }
    iframe{
        padding: 0 4%;
        width:92%;
        height:400px;
    }
}


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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   archived print CSS loading note
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
