/* CSS Document for Screens */

@font-face {
    font-family: 'LatoLight';
    src: url("../../assets/fonts/LatoLatin-Light.woff");
}

html {
    height: 100%;
    font-size: 18px;  
}

body {        
    font-size: 100%;
    font-family: 'LatoLight', Helvetica, 'Open Sans', sans-serif ; /* fontlibrary.org lato */
    font-weight: 300;
    letter-spacing: 1px;
    color: #555;   
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    min-width: 320px;
    overflow-x: scroll;  
}


#logo {
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    color: white;
    font-size: 1.6em;
    font-weight: bold;
}

.wrapper { 
    min-height: 100%; 
    max-width: 1200px;
    margin: 0 auto;
    position: relative; 
}

header, footer, .content {
    font-family: LatoLight;
    font-size: 18px;
    line-height: 1;
    color: #555;
    background-color: transparent;
}

/* http://stackoverflow.com/questions/71074/how-to-remove-firefoxs-dotted-outline-on-buttons-as-well-as-links */
a:focus, a:active { 
    outline: none;
    background: transparent;
}

button::-moz-focus-inner {
  border: 0;
  background: transparent;
}


/*  RESPONSIVE MENU BUTTON  */

.menu-button {
        display: none; 
        color: white;
        font-size: 1.8em;
        position: relative;
        top: 20px;
        float: right;
        margin-right: 30px;  
}


/* NAV HORIZONTAL */

#vertical-nav {
    visibility: hidden;
} 

#closebtn {
    display: none;
}

nav {
    float: right;
    top: 0px;
    margin-right: 15px;
} 

nav ul{
    list-style: none;
    margin-top: 30px;
    padding: 0px;
}

nav ul li {
    display: inline-block;    
}

nav ul li a, nav ul li label {
    font-size: .8em;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
}

nav ul li a:hover {
    font-weight: bold;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
}

/* Error Page  */

.page-not-found {
    position: relative;
    padding-top: 30px;
    padding-bottom: 50px;
    width: 50%;
    margin: auto;
    text-align: center;
}

.page-not-found h2 {
    display: inline-block;
    color: white;
    background-color: rgba(48,48,48,0.75);
    border-radius: 0.5em;
    padding: 1em;
}

/*  MAIN index page */


#wall-1 {
    background-image: url(../img/img1.jpg);
}

#wall-2 {
    background-image: url(../img/img2.jpg);
}

#wall-3 {
    background-image: url(../img/img3.jpg);
}

#wall-4 {
    background-image: url(../img/img4.jpg);
}

#wall-5 {
    background-image: url(../img/img5.jpg);
}

.image {
     
    /* Set a specific height */
    height: 549px;
    width: 100%;
    
    /* Create the parallax scrolling effect */
    background: transparent;  
    background-attachment: fixed;  
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    z-index: 1;
}

.content {
    background-color:rgb(255, 250, 250,.7);
    text-align: center;
    padding-top: 30px;
    font-size: 1.2em;
    height:650px;
    z-index: 2;
}

.content h3 {
    font-size: 1.5em;
    font-weight: 400;
    padding-bottom: 30px;
}

#content-1 {
    height:200px;
}

/* style carousels */

.carousel {
    width: 600px; 
    margin: 0 auto;
}


/*  MAIN about page  */

#about-header {
    height:300px;
    width: 100%;
    background-image: url(../img/about/yarn.jpg);
    background-repeat: no-repeat;
    background-size: cover;      
}

.about-main {
    margin-top: 20px; 
    padding: 100px;
    overflow: auto;
}

.about-photo {
    float: right;
    width: 30%;
    margin: 20px 20px 40px 20px;
}

.about-photo img {
    display: block;  
    width: 75%;  
    margin: auto;
}

.about-text {
    margin: 0;  
}

.about-text h1 {
    font-size: 1.5em;
    padding-bottom: 20px;
}


/* MAIN about contact */

section.about-main hr {
    margin-top: 50px;
}

section.about-main .comments-tagline {
    font-size: 2em;
}

section.about-main .comments-tagline.active-error-msg {
    font-size: 1.3em;
    color: firebrick;
}

section.about-main .firstname {
    float: left;
    width: 45%;
}

section.about-main .lastname {
    float: right;
    width: 45%;
}

input {
    background-color: #f7f7f7;
    border-style: solid;
    border-color: gray;
    border-width: 1px;
    width: 100%;
    font-size: 1em;
    margin-top: 5px;
}

.alert-box {
    min-height: 2em;
}

.email-alert {
    margin: 0px;
    color: firebrick;
}

textarea {
    background-color: #f7f7f7; 
    width: 100%;
    resize: vertical;
    height: 100px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
    font-size: 1em;
}

button {
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #2f5779;
    color: white;
    border-radius: 8px;
    padding: 12px 17px 12px 17px;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;    
}

fieldset {
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    border: none;
}



/*  MAIN craft page  */

#craft-header {
    height:300px;
    width: 100%;
    background-image: url(../img/CraftBanner.jpg);
    background-repeat: no-repeat;
    background-size: cover;  
}

.craft-main {
    margin-top: 0px;
    padding: 50px 80px 80px 80px;
    overflow: auto;
}

.craft-image {
    padding: 30px;
    display: block;  
    height: auto;
    width: 80%;
    margin: auto;
    
}

.craft-bottom {
    height: 50px;
    width: 100%;
}




/* FOOTER */

footer {
    width: 100%;
    display: block;
    position: relative;  
    background-color: #5c5858;
    height: 100px;
    margin-top: -100px;
    clear: both;  
}

.footer-content p {
    padding-top: 1em;
    padding-bottom: 0;
    color: white;
    text-align: center;
    font-size: 1.2em;
    margin: 0;
}

#copyright {
    padding-top: 0.8em;
    font-size: 0.8em;
}



@media screen and (max-width: 825px) {
    
    #logo {
        font-size: 1.4em;
    }
    
    .carousel {
        width: 480px; 
    }
    
    .content {
        height: 540px;
    }
    
    .about-text h1 {
        font-size: 1.1em;
        font-weight: 200px;
        padding-bottom: 10px;
    }
    
    .about-photo {
        width: 41%;
        margin: 20px;
    }
        
}



@media screen and (max-width: 725px) {

    /* NAV converts to vertical under menu button */
   
    nav ul.horizontal-nav {
        display: none;
    } 
    
    .menu-button {
        display: block;
    }
    
    #vertical-nav.nav-active {
        width:25%;
    }
    
    #closebtn {
        display: block;
        position: absolute;
        top: 0;
        left: 25px;
        font-size: 36px;
    }
        
    nav ul {
        margin-top: 0;
    }
    
    nav #vertical-nav {
        visibility: visible;
        
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1;
        top: 0px;
        right: 0;
        background-color: rgba(47, 47, 47, 0.9);
        overflow-x: hidden;
        transition: width 0.1s;  
        padding-top: 60px;
        
    }
   
    nav ul li #contact-btn {
        border: none;   
    }
    
    #contact-btn:hover {
        background: transparent;
        color:white;
    }
    
    #vertical-nav li { 
        display: block;
        float: right;
        padding-top: 20px;
    }
       
    section.about-main .comments-tagline {
        font-size: 1.5em;
    }
    
    section.about-main .comments-tagline.active-error-msg {
        font-size: 1em;
    }
    
}



@media screen and (max-width: 640px) {
    
    #about-header, #craft-header {
        height:200px;
    }
    
    #logo {
        font-size: 1.2em;
    }
    
    .carousel {
        width: 380px; 
    }
    
    .content {
        height: 440px;
    }
    
    .about-main, .craft-main {
        padding-top: 20px;
    }
    
    .about-photo {
        bottom: 5px;
        float: none;
        padding: 20px;
        width: auto;
        margin-top: 10px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 30px;
    }
    
    .menu-button { 
        font-size: 1.6em;
    }
    
    footer {
        height: 70px;
        margin-top: -70px;
    }
    
    footer .footer-content p {
        padding-top: 0.8em;
        font-size: 1em;
    }
    
    #copyright {
        padding-top: 0.5em;
        font-size: 0.7em;
    }

}

@media screen and (max-width: 568px) { 
    

    /* fix for ios mobile vertical and landscape */
    .image {
        height: 300px;
        background-attachment: scroll;
    }

    #about-header, #craft-header {
        height:130px;
    }
    
    
    #logo {
        font-size: 1em;
        margin-bottom: 5px;
    }
    
    .menu-button { 
        font-size: 1.4em;
        top: 15px;
        margin-right: 0px;  
    }

    #vertical-nav.nav-active {
        width:38%;
    }
     
    .carousel {
        width: 300px;
    }
   
    .content {
        height: 380px;
    } 
    
    .about-main, .craft-main {
        padding: 30px 30px 80px 30px;
        margin-top: 0;
    }
    
    .about-photo {
        bottom: 5px;
        float: none;
        width: auto;
        margin-top: 0px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 10px;
    }  
    
    .about-text {
        font-size: 1em;
    }
    
    .about-text h1 {
        font-size: 1em;
        font-weight: 200px;
        padding-bottom: 10px;
    }
    
    section.about-main .comments-tagline {
        font-size: 1em;
    }
    
    section.about-main .comments-tagline.active-error-msg {
        font-size: 0.8em;
    }
    
    #contact-form {
        font-size: 0.8em;
    }
    
    .alert-box {
        min-height: 1.3em;
    }
    
    
    .craft-main h2 {
        font-size: 1.2em;
    }
    
    .craft-image {
        padding: 0px;
        display: block;  
        height: auto;
        width: 100%;
        margin: auto;
    }
    
    
    footer .footer-content p {
        width: 75%;
        margin-left: auto;
        margin-right: auto;
        padding-top: .7em;
        font-size: .8em;
    }

    #copyright {
        width: 90%;
        padding-top: 0.4em;
        font-size: 0.6em;
    }
   

}

    
    
    
    
    
    
    
    



