
/* CSS Document for Screens */
/* www.lariatknits.com  */

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

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

body {  
    height: 100%;
    margin: 0;
    font-size: 100%;
    font-family: 'Lato-Light', Helvetica, 'Open Sans', sans-serif ; /* fontlibrary.org lato */
    font-weight: 300;
    letter-spacing: 1px;
    color: #555;   
}

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

/* HEADER section */

#logo {
    height: 640px;
    width: 80%;
    margin: auto;
    background-image: url(../img/lariat.bkgd.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#logo-txt {
    width: 50%;
    margin:auto;
    text-align: center;
    padding: 70px 0;
    color: white;
}

#logo h1 {
    font-size: 6em;
    font-stretch: expanded;
    text-transform: uppercase;
}

#patent {
    font-size: 0.9em;
}

#made {
    padding-top: 30px;
    font-size: 1.5em;
}




/*  MAIN section */

.main {
    min-height: 10em;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 100px;
}

.main h2 {
    font-size: 1.5em;
    font-weight: 400;
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 40px 80px 40px 80px;
}

.images {
    text-align: justify;
    margin: auto;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}  

.images img {   
    display: inline-block;
    width: 10em;
    height: 10em;

}

.images:after {
    content: '';
    display: inline-block;
    width: 100%;
}

#contact-btn a {
    display: block;
    height: 100%;
    text-align: center;
    font-size: 1.8em;
    color: white;
    text-decoration: none;
}

#contact-btn {
    border-width: 2px;
    border-style: outset;
    border-color: buttonface;
    border-image: initial;
    
    text-align: center;
    margin: 0 auto;
    background-color: #2f5779;
    width: 200px;
    height: 2.6em;
    border-radius: 14px;
}

#spacer {
    height: 60px;
    width: auto;
}

.page-not-found {
    position: relative;
    padding-top: 30px;
    padding-bottom: 200px;
    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 contact form  */

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

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

.firstname {
    float: left;
    width: 45%;
}

.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;
}






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

@media screen and (max-width: 920px) {
    
    .images {
        display: inline-block;
        text-align: center;
        margin: auto;
        padding: 0 80px 80px 80px;
    }  
    
}



@media screen and (max-width: 640px){  
    
    #logo {
        height: 300px;
    }
    
    #logo-txt {
        padding-top: 15px;
        padding-bottom: 15px;
        width: 70%;
    }
    
    #logo h1 {
        font-size: 3em;
        font-stretch: expanded;
    }

    #patent {
        font-size: 0.8em;
    }

    #made {
        padding-top: 0;
        font-size: 1em;
    }

    .main h2 {
        font-size: 1.1em;
        font-weight: 400;
        width: 80%;
        margin: auto;
        margin-bottom: 0px;
        text-align: center;
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .images {
        padding: 0 0 30px 0;
    } 
    
    .comments-tagline {
        font-size: 1em;
    }
    
    .comments-tagline.active-error-msg {
        font-size: 0.8em;
    }
    
    #contact-form {
        font-size: 0.8em;
    }
    
    .alert-box {
        min-height: 1.3em;
    }
    
    .page-not-found {
        padding-top: 20px;
        padding-bottom: 30px;
}
    
    
    
    
    